Custom Tab Bar

Discussion in 'iOS Programming' started by ljg93, Jul 8, 2011.

  1. ljg93 macrumors member

    Joined:
    Mar 13, 2011
    #1
    I was wondering how I could make a totally custom tab bar. Not just with a image in it but a tab bar that would be considerably larger and different colors on each tab.
     
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #2
    Have you tried googling?

    ios custom tab bar
    ios custom tab bar colors
     
  3. ljg93 thread starter macrumors member

    Joined:
    Mar 13, 2011
    #3
    yes im not looking for that kind of custom tab bar i am looking for a tab bar like this
     

    Attached Files:

  4. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  5. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #5
    Something like that image is most likely just buttons. You should also have a navigation controller with hidden navbar. Then when one of the buttons is tapped you set the viewControllers property to switch the current view. At least that's one way to do it.

    Not sure if you can just use a normal tab bar controller and a custom subclass of UITabBar, which would be better if that works.
     
  6. jnoxx macrumors 65816

    jnoxx

    Joined:
    Dec 29, 2010
    Location:
    Aartselaar // Antwerp // Belgium
    #6
    I think this view in perticular is completely custom. But some like Instagram etc. Are actually Tabbars, with just a raised Middle button.
    That code is for free online, so you could take a look at that.

    Gl.
     

Share This Page