views:

202

answers:

1

In the iPod app, there's a right-facing navigation button as well as the usual left-facing "Back" button. It gets you back to the "Now Playing" screen. Is this a custom button, or is there a way to easily create one using standard tools?

alt text

+2  A: 

Not possible in the SDK I believe. A workaround would be to create the button in Dashcode (search "dashcode" in the spotlight). In the "Mobile Safari" view, just drag in a "Go Forward Button". You can then recolour the image using Dashcode inspector. Find the Dashcode project in Finder, right click it and go to "Show Package Contents", the button images should be under the image directory (Project > mobile > Parts > Images).

Then you can simply add the button to your Nav bar as an custom image UIBarButtonItem (self.navigationItem.rightBarButtonItem = ...);.

Example

Jamie Chapman