ios - Set Navbar hidden = false don't work -


i have 2 viewcontroller

vc , vc b

vc => navigationbar hidden = true

vc b => navigationbar hidden = false

i make segue => b, navgiationbar in vc b not visible.

i have include following swift code in vc b:

override func viewwillappear(animated: bool) {     self.navigationcontroller?.navigationbarhidden = false } 

any ideas?

the navigation bar , tool bar should disappear in storyboard when change segue -- that's normal.

try checking enter image description here

following should work ios 8 particular view

override func viewwillappear(animated: bool) {   self.navigationcontroller?.navigationbarhidden = false } 

to show on viewcontrollers place in viewdidload

self.navigationcontroller?.navigationbarhidden = false 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -