sudo rm -rf
sudo rm -rf

Reputation: 29524

How to get "location" UIToolbar button?

I was looking to add a "locate" button similar to the one in Apple's Map app.

alt text

^There

I looked in the options for bordered buttons but it's not listed. How can I add one of these?

Thanks in advance.

Upvotes: 0

Views: 443

Answers (1)

Rits
Rits

Reputation: 5175

You have to create it yourself.

For example, using this method of UIBarButtonItem:

- (id)initWithImage:(UIImage *)image style:(UIBarButtonItemStyle)style target:(id)target action:(SEL)action

Upvotes: 3

Related Questions