Creates and returns a new item with the specified title, unselected image, and selected image.
- iOS 7.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The item’s title. If
nil, a title is not displayed.
The item’s unselected image. If
nil, an image is not displayed.
The item’s selected image. If
nil, uses the value of
Newly initialized item with the specified title, unselected image, and selected image.
selected is provided,
image is used as both the unselected and selected image.
By default, the actual unselected and selected images are automatically created from the alpha values in the source images. To prevent system coloring, provide images with