내 앱에 맞춤 UITableViewCell이 있습니다. 이 셀을 탭하면 왼쪽에서 오른쪽으로 봄 효과 애니메이션을 수행하고 싶습니다. 그런 애니메이션을 어떻게 할 수 있습니까?iOS 봄 애니메이션 (UITableViewCell)
0
A
답변
1
animateWithDuration: animation:
으로 당신은 깔끔한 것을 할 수 있습니다.
[UIView animateWithDuration:(float duration) animation^{(block)}];
Duration
이는 animation
을 수행하는 데 걸리는 시간이며, block
는 예를 들어, duration
내에서 일어날 생각되는 것입니다 :
다음과 같이 사용된다
cell.center = CGPointMake(cell.center.x+50, cell.center);
1
iOS 7.0 이상에서는 +animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:
을 사용할 수 있습니다.
관련 문제
- 1. UITableViewCell 잃고 UIImageView 애니메이션 (iOS 5 버그?)
- 2. UITableViewCell 애니메이션 - 애니메이션 중 변위
- 3. IOS : UITableViewCell
- 4. 페이드 애니메이션 UITableViewCell
- 5. UITableViewCell 애니메이션 오류
- 6. 아니요 애니메이션 UITableViewCell 선택
- 7. 있는 UITableViewCell 애니메이션
- 8. 스크롤하는 동안 UITableViewCell 애니메이션
- 9. UITableViewCell 애니메이션 삽입 완료 직후에 애니메이션 추가
- 10. UITableViewCell 애니메이션 액세서리보기 선택시 숨김
- 11. UITableViewCell AccesoryView에 애니메이션 원 추가
- 12. 동적으로 정렬 UITableViewCell - iOS
- 13. iOS UITableViewCell 디자인
- 14. iOS 7 UITableViewCell 문제
- 15. 사용자 정의있는 UITableViewCell IOS
- 16. iOS 특정 UITableViewCell
- 17. iOS Swift - Custom UITableViewCell
- 18. iOS - UITableViewCell reuseIdentifiers가 글로벌입니까?
- 19. iOS 7의 UITableViewCell separatorInsets
- 20. iOS 7 UITableViewCell Autolayout
- 21. 맞춤형 UITableViewCell iOS
- 22. iOS 용 userData UITableViewCell
- 23. ios 응용 프로그램에서 Custom UITableViewCell
- 24. IOS UITableViewCell - 섹션 스 와이프
- 25. 확장형 채팅 거품 UITableViewCell iOS
- 26. iOS UITableViewCell (텍스트 필드 포함)
- 27. iOS 유니버설 앱 - 맞춤 UITableViewCell
- 28. iOS UITableViewCell 액세서리가 왼쪽에 있습니까?
- 29. iOS 7 UITableViewCell 클립 TEMPORARILY
- 30. IOS UILabel Multiline in UITableViewCell