直播带货源码,商品页面跳转显示白底, 添加渐变动画
直播带货源码,商品页面跳转显示白底, 添加渐变动画实现的相关代码
CATransition *transition = [CATransition animation];
transition.duration = 0.25;
transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
transition.type = kCATransitionFade;
transition.subtype = kCATransitionFromRight;
[[UIApplication sharedApplication].keyWindow.layer addAnimation:transition forKey:nil];
[UIApplication sharedApplication].keyWindow.rootViewController = xxxx;
以上就是直播带货源码,商品页面跳转显示白底, 添加渐变动画实现的相关代码, 更多内容欢迎关注之后的文章