今天就分享给大家一个比较实用的动画
ios 中经常用的到列表 tableView, 那么大家在滑动中是否感觉有些单调呢?
如果滑动的时候有些动画 是否会更好些呢? 这些问题也是我所考虑的
下面就教大家2种简单实用的动画
这些效果都是我亲测的,大家可以放心使用
第一种是模仿百度贴吧客户端 滑动的效果
<span style="font-size:18px;">- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.row>=tableViewNum) {
cell.contentView.alpha = 0.1;
CGAffineTransform transformScale = CGAffineTransformMakeScale(2,2);
CGAffineTransform transformTranslate = CGAffineTransfor