tabBarController(_:willEndCustomizing:changed:)
Tells the delegate that the tab bar customization sheet is about to be dismissed.
Declaration
optional func tabBarController(_ tabBarController: UITabBarController, willEndCustomizing viewControllers: [UIViewController], changed: Bool)Parameters
- tabBarController:
The tab bar controller that is being customized.
- viewControllers:
The view controllers of the tab bar controller. The arrangement of the controllers in the array represents the new display order within the tab bar.
- changed:
A Boolean value indicating whether items changed on the tab bar. True if items changed or False if they did not.
Discussion
This method is called in response to the user tapping the Done button on the sheet but before the sheet is dismissed.