ios - top navigation bar becomes visible when navigation back from push segue on iphone -
ios - top navigation bar becomes visible when navigation back from push segue on iphone -
i'm hiding navigationbar on view, , when user presses button on view, i'm pushing next view. in next view, not longer hiding nav bar , expected becomes visible. when hitting however, navbar on first view becomes (somehow) visible.
i'm hiding top navbar this:
self.navigationcontroller.navigationbar.hidden = yes;
and i'm making visible this:
self.navigationcontroller.navigationbar.hidden = no;
i wonder wrong this, it's quite basic somehow has glitch.
in parent vc's viewwillappear
method hide navigation bar.
-(void)viewwillappear:(bool)animated { self.navigationcontroller.navigationbar.hidden = yes; }
ios objective-c cocoa-touch xcode5
Comments
Post a Comment