Does anyone know how to style their uitabbar like Apple in Music and Clock apps on the iPad?
I have been searching the web over but I can’t find much out there.
Thanks
Edit:
Rephrasing, I’m trying to understand how to go about setting this up. I’ve been trying using uitabbarcontroller but I wasn’t sure if this was a manipulated style of uitabbaritems or if it was using segmented controls. It seems to be a common view in Apple’s new apps, but I wasn’t sure how much customization was needed to achieve the effect. If I wanted to have two unique views selectable in a similar fashion to Apple’s Music and Clock apps, would I approach as follows:
- UIViewController (root)
- UIToolbar
- Segmented Control
- Button 1
- Loads ViewController1
- Button 2
- Loads ViewController2
- Button 1
- Segmented Control
- UIToolbar
That is a
UISegmentedControl. You can style its appearance using the following methods:This example sets the background and the divider images for the different selection states (using the appearance proxy to change the appearance of all segmented controls):