iOS-CALayer动画之CAKeyframeAnimation动画视图的添加点击事件和气泡随机飘动上升动画
iOS-CALayer动画之CAKeyframeAnimation动画视图的添加点击事件和气泡随机飘动上升动画
@property (strong, nonatomic) UIView *bgView;//气泡所在的view
(void)viewDidLoad {
self.bgView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen]
原创
2021-01-29 17:46:58 ·
560 阅读 ·
1 评论