tags:

views:

31

answers:

1

Does anyone have any idea on how the developers of the reddit iphone application created the browser buttons which appear in the navigation bar when viewing external sites?

does rightBarButtonItem accept any view -> did they just create a view with multiple buttons and assign it to self.navigation.rightBarButtonItem or did they subclass UIButton?

Is their a standard "multiple button" button implementation?

+2  A: 

The rightBarButtonItem can contain any view as long as you wrap it in a UIBarButtonItem.

For a "multiple button", do you mean a UISegmentControl?

If there's no title, and you want a UISegmentControl, you should set the control as the title view and leave the right bar button item blank.

KennyTM