UITableView Cell 弹簧动画效果

- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath {

cell.transform = CGAffineTransformMakeTranslation(0, 40);
[UIView animateWithDuration:0.8 animations:^{

cell.transform = CGAffineTransformIdentity;
}];


}

posted @ 2016-06-29 19:30  TianXiang.Liu  阅读(1503)  评论(0编辑  收藏  举报