![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发小技巧
a_ellisa
I can do all things....
展开
-
去掉UICollectionView 在 reloadItems时默认附加的隐式fade动画。
//方法一 [UIView performWithoutAnimation:^{ [collectionView reloadItemsAtIndexPaths:@[[NSIndexPath indexPathForItem:index inSection:0]]]; }]; //方法二 [UIView animateWithDuration:0 animations:^{原创 2016-07-20 15:25:37 · 3543 阅读 · 0 评论 -
发布评论,回复交互设计
1.导入头文件 #import @property (nonatomic, strong) MASConstraint *bottomConstraint; 2.添加通知 [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardChanged:)原创 2017-02-27 11:39:50 · 1010 阅读 · 0 评论