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 @   TianXiang.Liu  阅读(1507)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示