[英]Sync Navigation Bar To View Controller During Segue
前言
视图控制器A:没有导航栏。
视图控制器B:具有导航栏。
目前:从VIEW CONTROL A切换到VIEW CONTROL B时:
导航栏仅出现[而不是与VIEW CONTROLLER B主体同步过渡]。
题
如何强制导航栏与视图控制器主体同步选择?
1.In view will appear of ViewController A hide navigation bar and viewwilldisappear in ViewController B show navigation bar.and
2.hide navigation bar in ViewControllerA and show navigation bar in ViewController B viewwill appear
3.when you push view controller use animated in the parametes [self.navigationcontroller pushviewcontroller:viewb animated:YES];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.