Instance Property

largeContentSizeImage

The image to display for users with visual impairments.

Declaration

var largeContentSizeImage: UIImage? { get set }

Discussion

Use this property to specify a high-resolution version of the item's image. When displaying an assistive interface for visually impaired users, UIKit displays this image instead of the standard image. The default value of this property is nil.

If you do not specify an image for this property, UIKit scales the image that you specified in the image property.

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 landscapeImagePhone: UIImage?

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

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