
然而,当我点击我的导航控制器给我的那个后退按钮时,我得到一个我不想要的推动画,我想要使用那个褪色!我也不想在我的故事板中有两个段落,因为它只是变得混乱.
任何帮助非常感谢!
自定义淡入淡出:
-(voID)perform{ __block UIVIEwController *sourceVIEwController = (UIVIEwController*)[self sourceVIEwController]; __block UIVIEwController *destinationController = (UIVIEwController*)[self destinationVIEwController]; [UIVIEw TransitionWithVIEw:sourceVIEwController.navigationController.vIEw duration:1.0 options:UIVIEwAnimationoptionTransitionCrossdissolve animations:^ { [sourceVIEwController.navigationController pushVIEwController:destinationController animated:NO]; } completion:^(BOol finished) { NSLog(@"Transition Completed"); }];} 编辑:
也许我应该简化.如何在UINavigationController中的两个视图控制器之间进行交叉消除淡入淡出,该视图控制器推送和d出视图而不是标准的左右侧面动画?
谢谢.
解决方法 如果你正在为iOS 7构建,你可以使用UINavigationControllerDelegate和新的视图控制器转换API.这是一个指南:
http://www.captechconsulting.com/blog/tyler-tillage/ios-7-tutorial-series-custom-navigation-transitions-more
以上是内存溢出为你收集整理的objective-c – d出视图的自定义故事板Segue?全部内容,希望文章能够帮你解决objective-c – d出视图的自定义故事板Segue?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)