ios - Slide out menu - When switching back to original controller, Nav bar disappears -
i have slide out menu in app, , let know, i'm new ios/swift, if don't explain well, or use correct terms, that's why.
i use swrevealviewcontroller library sliding out menu.
the code use view controllers is
self.view.addgesturerecognizer(self.revealviewcontroller().pangesturerecognizer())
the issue is, when app first opens, shows navigation item's title , on viewcontroller1(default view), when using slide out menu go viewcontroller2 or 3, , going viewcontroller1, whole navigation bar/item disappears.
i tried use nav_item.title = "whatever"
within viewdidload(), doesn't work, far when switch first view. funny thing is, if programmatically change title doing that, changes when first loads when change view2 , change view1, disappears.
here few images of mean, if didn't explain enough, because said i'm still new. development of app coming along pretty because i'm going off android version i've had done while.
here when first loads, title , all. notice, background color doesn't overlap or change top part time , battery, becomes problem later view.
switched different view using slide out menu.
switching to original view, nav item disappears , background color extends full view, overlapping battery status , time
Comments
Post a Comment