UIView动画实现登录页面的UI控件逐渐向上移动并显示
(void)showAnimation {
//用来存储所有UI控件的alpha值
_objectsAlpha = [NSMutableArray array];
// animationObjects 是做动画的的所有UI控件
for (UIView *animationObject in self.animationObjects) {
[_objectsAlpha addObject:@(animationObject.alpha)];
CGRect animationObjectRect..
原创
2021-08-23 10:16:09 ·
356 阅读 ·
0 评论