TabBar and NavBar application

Discussion in 'iOS Programming' started by stjohnbee, Mar 25, 2009.

  1. stjohnbee macrumors newbie

    Joined:
    Mar 25, 2009
    #1
    Hi guys,

    I need to produce an application that has multiple views using a tabBar at the bottom of the screen and also features a bar at the top of the screen to allow two additional buttons in the navBar space.

    I have found a few examples of this, but none of them use xib files. Which is beyond my understanding at the moment!

    Would it be possible to create the application I'm talking about using xib's or is that impossible?

    Cheers,
    Ade
     
  2. iphonedevelop18 macrumors member

    Joined:
    Feb 26, 2009
    #2
    Yes, it would be possible but it would definitely be harder than using the non xib version. You would need to create 1 view controller and have two tab bar controllers (making a custom tab bar) watch this tutorial and it may help you some. It explains how to create a custom tab bar and control it under 1 view controller.
     
  3. CocoaPuffs macrumors 68010

    Joined:
    Aug 23, 2008
    #3
    Fairly simple actually. Use tabbar as root controller, add navbar as the view, then code the nav items in.
     

Share This Page