Difference between revisions of "UIBarButtonItem"

From iPhone Development Wiki
Jump to: navigation, search
(Created page with 'A '''UIBarButtonItem''' is an abstract object representing a button or custom view on a UIToolbar and UINavigationItem. == System items == [[Image:UIBarButtonItem100.png…')
 
m
 
Line 3: Line 3:
 
[[Image:UIBarButtonItem100.png|right|frame|UIBarButtonSystemItem, for value = (from left to right) 100 to 104, and 107 to 109]]
 
[[Image:UIBarButtonItem100.png|right|frame|UIBarButtonSystemItem, for value = (from left to right) 100 to 104, and 107 to 109]]
  
Up to firmware 3.1, the iPhoneOS defined 33 system items. 23 of them are [http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIBarButtonItem_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40007519-CH3-SW2 documented]. The rest all have values 100 or above:
+
Up to firmware 4.3, the iPhoneOS defined 33 system items. 24 of them are [http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIBarButtonItem_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40007519-CH3-SW2 documented]. The rest all have values 100 or above:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 26: Line 26:
 
| 108 || UIButtonBarNextSlide.png
 
| 108 || UIButtonBarNextSlide.png
 
|-
 
|-
| 109 || UIButtonBarPageCurl***.png
+
| 109 || UIButtonBarPageCurl***.png (no longer available, use <tt>UIBarButtonSystemItemPageCurl = 23</tt> instead)
 
|}
 
|}
 
== See also ==  
 
== See also ==  

Latest revision as of 10:35, 18 March 2011

A UIBarButtonItem is an abstract object representing a button or custom view on a UIToolbar and UINavigationItem.

System items

UIBarButtonSystemItem, for value = (from left to right) 100 to 104, and 107 to 109

Up to firmware 4.3, the iPhoneOS defined 33 system items. 24 of them are documented. The rest all have values 100 or above:

Value Image name
100 UIButtonBarLocate.png
101 UIButtonBarArrowLeft.png
102 UIButtonBarArrowRight.png
103 UIButtonBarArrowUp.png
104 UIButtonBarArrowDown.png
105 UIButtonBarArrowLeft.png
106 UIButtonBarArrowRight.png
107 UIButtonBarPreviousSlide.png
108 UIButtonBarNextSlide.png
109 UIButtonBarPageCurl***.png (no longer available, use UIBarButtonSystemItemPageCurl = 23 instead)

See also

References