我有UITabBarController一个UINavigationController作为根VC的标签之一,其本身就具有MKMapView作为其根VC.我想要的行为是让地图部分向上卷曲,同时保留标签栏(类似于地图应用).
到目前为止,我设法完成的工作是整个视图卷曲,这不是很好.
我看到的解决方案是将hidesBottomBarWhenPushed属性设置为NO,这有意义,但这似乎不起作用(除非我做错了).
为清楚起见,我的代码如下:
MyVC *aView = [MyVC init];
aView.modalTransitionStyle = UIModalTransitionStylePartialCurl;
aView.hidesBottomBarWhenPushed = NO;
Run Code Online (Sandbox Code Playgroud)
对于演示部分,我尝试了下面的两个替代方案,这两个方案似乎都不起作用:
[self presentModalViewController:updateStatus animated:YES];
[[self navigationController] presentModalViewController:updateStatus animated:YES];
Run Code Online (Sandbox Code Playgroud)
任何帮助非常感谢.