ios - Navigation bar not to be seen when UITableViewController is pushed onto the navigation stack -


code in view controller on navigation controller stack. want push uitableviewcontoller onto navigation stack. i'm using following code:

let destinationvc = self.storyboard?.instantiateviewcontroller(withidentifier: "formtablevc") as! formtableviewcontroller  self.navigationcontroller?.pushviewcontroller(destinationvc, animated: true) 

the uitableviewcontoller shows navigation bar not shown. how solve issue? want design has been carried forward previous view controllers shown in uitableviewcontoller's navigation bar well. appreciated. thank you.

add following code viewdidload function of uitableviewcontoller(formtableviewcontroller) class

self.navigationcontroller?.setnavigationbarhidden(false, animated: false)


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -