Sebastien Peek
Sebastien Peek

Reputation: 2528

Possible to recreate MobileSafari's back button?

I'm currently working on a UIWebView and am struggling to understand how Apple were able to create the left and right pointing buttons in their UIToolbar in MobileSafari.

Sure, we are able to use the "UIBarButtonSystemItemPlay" as the right pointing arrow, but how do I go about creating the left arrow?

Any help would be greatly appreciated!

Upvotes: 2

Views: 233

Answers (1)

Ole Begemann
Ole Begemann

Reputation: 135558

It is also possible to create bar button items with custom images. Just create an image of a left-pointing arrow and init the bar button item with -initWithImage:style:target:action:.

Upvotes: 2

Related Questions