M McBgnr macrumors regular Original poster Apr 13, 2009 144 0 Aug 17, 2009 #1 I am trying to add Black Navigation bar from the Attributes Inspector to my View, but it is not getting getting displayed at runtime. What else do I have to do for using the Navigation Bar on the view?
I am trying to add Black Navigation bar from the Attributes Inspector to my View, but it is not getting getting displayed at runtime. What else do I have to do for using the Navigation Bar on the view?
dejo Moderator emeritus Sep 2, 2004 15,982 454 The Centennial State Aug 17, 2009 #2 Is this in the "Simulated Interface Elements" section that you added it? If so, that doesn't actually add it; it's just, um..., simulated.
Is this in the "Simulated Interface Elements" section that you added it? If so, that doesn't actually add it; it's just, um..., simulated.
M McBgnr macrumors regular Original poster Apr 13, 2009 144 0 Aug 17, 2009 #3 Oh yes... it is in the simulated interface elements section. So it will not show up. What is the correct way of adding it then?
Oh yes... it is in the simulated interface elements section. So it will not show up. What is the correct way of adding it then?
robbieduncan Moderator emeritus Jul 24, 2002 25,611 893 Harrogate Aug 17, 2009 #4 McBgnr said: Oh yes... it is in the simulated interface elements section. So it will not show up. What is the correct way of adding it then? Click to expand... UINavigationController? The simulated stuff is just to let you see how the view will look with the navigaion/tab controller bits showing...
McBgnr said: Oh yes... it is in the simulated interface elements section. So it will not show up. What is the correct way of adding it then? Click to expand... UINavigationController? The simulated stuff is just to let you see how the view will look with the navigaion/tab controller bits showing...
M McBgnr macrumors regular Original poster Apr 13, 2009 144 0 Aug 17, 2009 #5 I added UINavigationViewController to the main xib and added outlet in the AppDelegate. However, my current view is a full screen view, and I am displaying my view using the call: Code: [window addSubview:myViewcontroller.view]; How can I now get the navigationbar displayed on top of myView?
I added UINavigationViewController to the main xib and added outlet in the AppDelegate. However, my current view is a full screen view, and I am displaying my view using the call: Code: [window addSubview:myViewcontroller.view]; How can I now get the navigationbar displayed on top of myView?
PhoneyDeveloper macrumors 68040 Sep 2, 2008 3,114 93 Aug 17, 2009 #6 If you build the navbar template project it does exactly this. Start with that template.