Instance Property

landscapeImagePhone

The image to use to represent the item in landscape orientation when using the iPhone appearance idiom.

Declaration

var landscapeImagePhone: UIImage? { get set }

Discussion

This image can be used to create other images to represent this item on the bar—for example, a selected and unselected image may be derived from this image. You should set this property before adding the item to a bar. The default value is nil.

See Also

Getting and Setting Properties

var title: String?

The title displayed on the item.

var image: UIImage?

The image used to represent the item.

var largeContentSizeImage: UIImage?

The image to display for users with visual impairments.

var imageInsets: UIEdgeInsets

The image inset or outset for each edge.

var landscapeImagePhoneInsets: UIEdgeInsets

The image inset or outset for each edge of the image in landscape orientation when using the iPhone appearance idiom.

var largeContentSizeImageInsets: UIEdgeInsets

The insets to apply to the bar item's large image when displaying the image in an assistive UI.

var isEnabled: Bool

A Boolean value indicating whether the item is enabled.

var tag: Int

The receiver’s tag, an application-supplied integer that you can use to identify bar item objects in your application.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software