我制作了一个闹钟,就像 iphone/ipod 上的默认闹钟一样。但我不知道如何在像 native ios 时钟应用程序一样编辑时创建动画 UItableviewcell。请帮助我。谢谢
像这样的动画。
最佳答案
[tableView reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade];
其中 UITableViewRowAnimation 可以是以下之一:
typedef enum {
UITableViewRowAnimationFade,
UITableViewRowAnimationRight,
UITableViewRowAnimationLeft,
UITableViewRowAnimationTop,
UITableViewRowAnimationBottom,
UITableViewRowAnimationNone,
UITableViewRowAnimationMiddle,
UITableViewRowAnimationAutomatic = 100
} UITableViewRowAnimation;
关于iphone - ios - iPhone : How to create animation UItableviewcell when edit like native ios alarm clock app,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10911352/