开发者

Reddit Browser Buttons iPhone App

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 button开发者_如何学JAVAs and assign it to self.navigation.rightBarButtonItem or did they subclass UIButton?

Is their a standard "multiple button" button implementation?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜