【发布时间】:2015-09-16 09:36:35
【问题描述】:
我在我的应用程序中展示了一个 uiviewcontroller,但该控制器与状态栏重叠。它只有导航栏,因此我的 barbutton 与状态栏中的电池图标重叠。在状态栏下方显示导航栏有什么想法吗?我搜索了很多,但找不到解决方案。我展示视图控制器的代码:
let timeVCObejct = self.storyboard?.instantiateViewControllerWithIdentifier("TimeConfigurationViewController") as? TimeConfigurationViewController
timeVCObejct?.delegate = self
self.presentViewController(timeVCObejct!, animated: true, completion: nil)
【问题讨论】:
-
能否附上屏幕短片。
-
您必须将导航栏向下移动 20 像素。