iphone - AMSlideMenu, AMSlideMenuContentSegue hiding top of the view -
i'm new xcode , objective-c. want implement simple slide menu amslidemenu. i've got 1 left menu, , need go logout screen clicking on logout (amslidemenucontentsegue) that. don't want menu there.
hiding button , disabling pangesture not problem. i've added:
// used disabling gesture menu , disabling left button [self disableslidepangestureforleftmenu]; [self removeleftmenubutton];
but still can see layer above top of view. how rid of ?
thanks using amslidemenu :)
if mean how hide navigation bar, in view controller, want navigate tapping on logout,
- (void)viewwillappear:(bool)animated { [super viewwillappear:animated]; [self.navigationcontroller setnavigationbarhidden:yes animated:yes]; } - (void)viewwilldisappear:(bool)animated { [super viewwilldisappear:animated]; // if want bring when view controller disappearing [self.navigationcontroller setnavigationbarhidden:yes animated:yes]; }
or, basically, in storyboard select navigation controller holds view controller, , set "top bar" "none"
Comments
Post a Comment