-
通过2D仿射函数实现小的动画效果(变大缩小) –可用于自定义pageControl中
[UIView animateWithDuration:0.3 animations:^{ imageView.transform = CGAffineTransformMakeScale(2, 2); } completion:^(BOOL finished) { imageView.transform = CGAffineTransformMakeScale(1.0, 1.0); }];
大醉和尚 |
|
||
qq:3262641915,如有问题,欢迎讨论. |
Copyright © 2024 大醉和尚
Powered by .NET 9.0 on Kubernetes |