iphone - UINavigationController Problem -
in view controller adding uinavigationcontroller , has around 20-30 pixels on top of it. doesnt fit navigationcontroller properly. soem reason adds subview 20-30 px below
navcontroller = [[uinavigationcontroller alloc] init]; navcontroller.navigationbar.tintcolor = [uicolor graycolor]; unitviewcontroller *unitcontroller = [[unitviewcontroller alloc] init]; [navcontroller pushviewcontroller:unitcontroller animated:yes]; [self.view addsubview:navcontroller.view];
any idea?
if full screen app perhaps unitviewcontroller's view not setup correctly. may assuming presence of status bar , leaving room it.
Comments
Post a Comment