Saturday, 15 January 2011

ios5 - While adding toolBar on Navigation Controller Line appears on Both sides? -



ios5 - While adding toolBar on Navigation Controller Line appears on Both sides? -

i seek uiview on navigation controller, stuck same problem. if tint color of toolbar , navigation controller same, though line appeared.

uitoolbar* navigationtoolbar = [[uitoolbar alloc] initwithframe:cgrectzero]; [navigationtoolbar sizetofit]; [navigationtoolbar settintcolor:[uicolor bluecolor]]; [navigationtoolbar setbarstyle:uibarstyledefault]; [self.navigationitem settitleview:navigationtoolbar];

have u created navigation tool bar in app delegate.if not first

uinavigationcontroller *mainnavigationcontroller = [[uinavigationcontroller alloc] initwithrootviewcontroller:viewcontroller];

ios5

No comments:

Post a Comment