ToolbarItem
@objc(PESDKToolbarItem) open class ToolbarItem: NSObject
A ToolbarItem
hosts views which are displayed in the toolbar
of a ToolbarController
.
If the toolbar controller is embedded into an UINavigationController
, those views are added
to the navigation controller’s navigation bar.
-
The title view is displayed in the center of the toolbar or navigation bar.
Declaration
Swift
open var titleView: UIView?
-
The left button is displayed on the left side of the toolbar or navigation bar.
Declaration
Swift
open var leftButton: ToolbarButton?
-
The right button is displayed on the right side of the toolbar or navigation bar.
Declaration
Swift
open var rightButton: ToolbarButton?