我有一個現有的UITableViewController
,我已經嵌入在NavigationController
。但是,當我呈現視圖時,導航欄並未顯示。導航欄添加導航控制器後不顯示
呈現TableViewController
(它的故事板ID是:SelectServicesController
):
if let selectServicesController = self.storyboard?.instantiateViewControllerWithIdentifier("SelectServicesController") as? UITableViewController {
self.navigationController?.presentViewController(selectServicesController, animated: true, completion: nil)
}
這是個什麼樣子,當我建立一個像(導航欄不顯示):
你在你的項目中的其他導航控制器? –
@DanielLeonard是的。這是一個單獨的導航控制器。 – Onichan
雅但它可以影響它,因爲它是一個父導航控制器。你也有你的表視圖限制在其超級視圖的頂部。 –