-
Notifications
You must be signed in to change notification settings - Fork 3
NotchToolbarDelegate
Ahmed Fathi Bekhit edited this page Oct 2, 2017
·
1 revision
Protocol
NotchToolbarDelegate
protocol defines the methods that handle events related to device orientation changes and tool icons selection.
This delegate method is triggered when the device orientation changes. Calling autoResize()
method inside this delegate is required in order to have the NotchBar
working properly.
This delegate method is triggered when the user selects an icon.
tools
is the UICollectionView
where the selection happened.
toolIndex
returns the IndexPath
of the icon.
section
returns the toolIndex.section
of the icon.
row
returns the toolIndex.row
of the icon.