我卡住了。我有一个带有消息的TableView。一旦选择,这些将被删除并移至垃圾箱。我通过在controller:didChangeContent [...] case NSFetchedResultsChangeDelete
中使用它而获得真正容易的精灵效果,但它的动画落后于其他细胞。但我希望在其他单元格的顶部。我究竟做错了什么?动画与精灵效应的UITableViewCell
这里是动画代码:
[UIView beginAnimations:@"suck" context:NULL];
[UIView setAnimationTransition:103 forView:myCell cache:YES];
[UIView setAnimationDuration:0.5];
[UIView setAnimationPosition:CGPointMake(50, 710)];
[tableView deleteRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] withRowAnimation:UITableViewRowAnimationFade];
[UIView commitAnimations];
上心从here。
这些都是私有API,Apple可能会拒绝您的应用。 –