- iOS 2.0+
- tvOS 2.0+
You typically use Interface Builder to create and configure bar button items.
You use the methods listed in Customizing Appearance to customize the appearance of buttons. You send the setter messages to the appearance proxy (
[UIBarButtonItem appearance]) to customize all buttons, or to a specific
UIBarButtonItem instance. You may use customized buttons in standard places in a
UINavigationItem object (
rightBarButtonItem) or a
In general, you should specify a value for the normal state to be used by other states which don’t have a custom value set. Similarly, when a property is dependent on the bar metrics (on iPhone, in landscape orientation bars have a different height from standard), you should specify a value of
For more information about appearance and behavior configuration, see Toolbars.