tabBarController(_:didEndCustomizing:changed:)
Tells the delegate that the tab bar customization sheet was dismissed.
Declaration
optional func tabBarController(_ tabBarController: UITabBarController, didEndCustomizing 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
You can use this method to respond to changes to the order of tabs in the tab bar.