0

How do I create a back button with a large left-facing arrow like in the iPod app? I'm not asking how to create a left-facing button, but how to get a left-facing arrow as the label on a button, as seen in the iPod app's now playing screen:

iPod now playing screen

Obviously an image would do the trick, but perhaps there is a Unicode character that they used? Also, I'm surprised that there's no discussion about this (or at least none that I could find).

Hilton Campbell
  • 6,065
  • 3
  • 47
  • 79

1 Answers1

1

This is the way I would do it. You create the image and set it as the back button. The code below is what I have in my application.

UIImage *imageFullscreen = [UIImage imageNamed: @"fullscreen.png"];

[[self navigationItem] setRightBarButtonItem:[[[UIBarButtonItem alloc] initWithImage:imageFullscreen style:UIBarButtonItemStylePlain target:self action:@selector(hide)]autorelease]];
BDGapps
  • 3,318
  • 10
  • 56
  • 75