UIBarButtonItem
public extension UIBarButtonItem
-
Create a UIBarButtonItem with a CustomView
Declaration
Swift
convenience init(customView: () -> UIView)
Parameters
closure
A trailing closure that accepts a view
-
Create a UIBarButtonItem with a UIView
Declaration
Swift
convenience init(view: UIView)
Parameters
view
A UIView