Reputation: 55544
I'm trying to get a UISegmentedControl like is in the iTunes app and App store app, where you select between Top Paid, Top Free and Top Grossing, its a bar style except more blue. It goes above a table view
Upvotes: 2
Views: 863
Reputation: 19860
Use the normal UISegmentedControl class and use the property to change the style as needed.
(See Style popup menu on the right!)
You can also set the segmentedControlStyle
property of the control to one of the following values:
typedef enum {
UISegmentedControlStylePlain,
UISegmentedControlStyleBordered,
UISegmentedControlStyleBar,
UISegmentedControlStyleBezeled,
} UISegmentedControlStyle;
Upvotes: 4