need help in controls

Discussion in 'iOS Programming' started by macobss89, Sep 6, 2011.

  1. macobss89 macrumors newbie

    Joined:
    Jun 5, 2011
    #1
    hi,
    I'm still new to the whole objective c programming, i need help.
    i have attached a screenshot from an app i saw the other day.
    I was wondering how can i make a tabbed view like the one in the picture?
    I thought maybe using the segmented control??
    also, i was wondering if there are any custom controls/plugins to use when developing an app?
    thank you
     

    Attached Files:

  2. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #2
    I've never done anything like that before, but I'd probably try making a UISegmentedControl and just setting each button cell to have a custom image that looks like a tab.

    If that didn't work I'd just make a UIButton with a custom background image.
     
  3. macobss89 thread starter macrumors newbie

    Joined:
    Jun 5, 2011
  4. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #4
    This is probably more along the lines of how they implemented it. It's different enough from a UISegmentedControl that trying to shoehorn it into that would be more difficult than necessary.
     
  5. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #5
    Really? I thought it would fit a UISegmentedControl better than a bunch of UIButtons. UISegmentedControl automatically deselects segments when you select a different one, UIButtons don't.
     
  6. admanimal macrumors 68040

    Joined:
    Apr 22, 2005
    #6
    Yes, but the appearance and visual behavior in general is significantly different.
     
  7. macobss89 thread starter macrumors newbie

    Joined:
    Jun 5, 2011
    #7
    Yes I agree, I tried the UISegmentedControl, it wasn't as good as the UIButton with a custom background.
     

Share This Page