iphone - How do you add a navigationBar when you're not using a navigationController? -
is there way of doing other dragging 1 onto view in ib? see in ib can specify view has naviationbar seems work when using navigationcontroller. app i'm working on isn't fit navigationcontroller. in advance.
uinavigationbar view other. set appropriate frame , add view wish.
ex:
uinavigationbar *bar = [[uinavigationbar alloc] initwithframe:cgrectmake(0, 0, 320, 40)]; [self.view addsubview:bar]; [bar release];
n.b. not sure of standard height off hand, that'll easy find
edit: looks beaten punch
Comments
Post a Comment