i'm looking way have navigation bar not show on screen @ all.
i know there setnavigationbarhidden:animated:
use on navigationbar, still shows bar on screen split second before removing , readjusting screen dimensions.
i've tried moving setnavigationbarhidden:animated:
viewdidload:
, viewwillappear:
etc. , set hidden on previous activities viewwilldisappear:
shows on next screen.
how make such view loads out navigationbar on before shown?
thanks, dman
i'm hiding navigation bar uinavigationcontroller
in appdelegate - (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions
method , works fine me. @ point, while navigating through screens, i'm showing hide again. works charm.
uiviewcontroller *controller = [[uiviewcontroller alloc] init]; uinavigationcontroller *navctrl = [[uinavigationcontroller alloc] initwithrootviewcontroller: controller]; navctrl.navigationbarhidden = yes; self.window.rootviewcontroller = navctrl; [controller release]; [navctrl release];
hope helps.
p.s. never show navigationbar of navigation controller again. on controllers need bar i'm adding new one.
Comments
Post a Comment