An abstract superclass for items that can be added to a bar that appears at the bottom of the screen.
- iOS 2.0+
- tvOS 9.0+
Items on a bar behave in a way similar to buttons (instances of
UIButton). They have a title, image, action, and target. You can also enable and disable an item on a bar.
In iOS v5.0 and later, you can also specify a custom image and position to use in landscape orientation when using the iPhone appearance idiom using
landscape respectively. In addition, you can customize the title’s text attributes using
set, either for a single item, or for all items by using the appearance proxy (for example,