Initializes a new item using the specified custom view.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
A custom view representing the item.
Newly initialized item with the specified properties.
The bar button item created by this method does not call the action method of its target in response to user interactions. Instead, the bar button item expects the specified custom view to handle any user interactions and provide an appropriate response.