开发者

UIBarButton differences between View and tableViewControllers?

开发者 https://www.devze.com 2023-03-23 05:53 出处:网络
I have a tab bar iPhone application. Tab bar #1 has a table view controller. It pushes a detail screen onto the stack.

I have a tab bar iPhone application.

Tab bar #1 has a table view controller. It pushes a detail screen onto the stack. On the top right hand corner there is a UIBarButton that calls and action sheet. This is all built programmatically through code and all works fine.

Tab bar #2 calls a table view controller than then loads a map view. The map view annotation callouts then open up a detail screen. On this screen, I'd like a UIBarButto开发者_如何转开发n. So far, I cannot get this to work. The button does not show up.

Any ideas why?

Thanks, J


UIBarButtonItem is not inherited from UIView.so u can't.

why dont u just use UIButton with Custom picture .

http://developer.apple.com/library/ios/#DOCUMENTATION/UIKit/Reference/UIBarButtonItem_Class/Reference/Reference.html

0

精彩评论

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

关注公众号