Initializes a new item using the specified image and other properties.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The item’s image. If
nilan image is not displayed.
The images displayed on the bar are derived from this image. If this image is too large to fit on the bar, it is scaled to fit. Typically, the size of a toolbar and navigation bar image is 20 x 20 points. The alpha values in the source image are used to create the images—opaque values are ignored.
The style of the item. One of the constants defined in
Button Item .Style
The object that receives the
The action to send to
targetwhen this item is selected.
Newly initialized item with the specified properties.