UIBarButtonItem
extension UIBarButtonItem
-
Initializes a new bar button item using the specified configuration.
Declaration
Swift
public convenience init(config: DismissButtonConfig, target: AnyObject?, action: Selector)
Parameters
config
The configuration for the item.
target
The object that receives the action message.
action
The action to send to target when this item is selected.
Return Value
A new bar button item instance.