presentModalViewController的动画
2012-11-14 15:36
447 查看
转来的,没验证,,,以后有需要的时候在看
self.myPushNav = [[MyPushNavViewController alloc] init];
CATransition *animation = [CATransition animation];
animation.duration = 5.0;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
animation.type = @"pageCurl";
animation.subtype = kCATransitionFromLeft;
[self.view.window.layer addAnimation:animation forKey:nil];
[self presentModalViewController:myPushNav animated:NO];
self.myPushNav = [[MyPushNavViewController alloc] init];
CATransition *animation = [CATransition animation];
animation.duration = 5.0;
animation.timingFunction = UIViewAnimationCurveEaseInOut;
animation.type = @"pageCurl";
animation.subtype = kCATransitionFromLeft;
[self.view.window.layer addAnimation:animation forKey:nil];
[self presentModalViewController:myPushNav animated:NO];
相关文章推荐
- presentModalViewController 的动画效果
- IOS 自定义presentModalViewController动画
- presentModalViewController 的动画效果
- presentModalViewController 设置动画效果
- presentModalViewController设置动画效果
- presentModalViewController 的动画效果
- presentModalViewController方法,present一个透明的viewController,带动画效果
- 使用 presentModalViewController 异常
- IOS: 正确使用PresentModalViewController
- presentModalViewController和dismissModalViewControllerAnimated的使用总结
- IOS-指定返回Modal的控制器presentViewController
- A 控制器 Push 到 B 控制器 presentViewController(modal模态)到C控制器
- IOS UI:弹出视图/弹出模态 presentViewController与presentModalViewController(增加IOS 6.0说明)
- presentViewController跳转动画切换
- presentModalViewControllerAnimated 和 dismissModalViewControllerAnimated
- 正确使用PresentModalViewController
- A 控制器 Push 到 B 控制器 presentViewController(modal模态)到C控制器
- 自定义presentViewController的转场动画(Swift)
- presentModalViewController和dismissModalViewControllerAnimated的使用总结
- 关于viewDidLoad里调用presentModalViewController的问题