Search code examples
iphoneapp-storeuibarbuttonitemuitoolbar

App Store Buttons


How does the App Store create the "Top Paid" "Top Free" and "Release Date" buttons?

They look like UIBarButtonItems in a UIToolbar but with a catch. The buttons merge together into one longer button. If it is a UIToolbar, I'm not sure how they connect the buttons so that they appear together like a tab bar ...


Solution

  • Don't have the iPhone right here, but I think what you want is the UISegmentedControl. Does it look like this?

    UISegmentedControl
    (source: episode-2.com)