Called to notify the view controller that the safe area insets of its root view changed.
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Use this method to update your interface to accommodate the new safe area. UIKit updates the safe area in response to size changes to system bars or when you modify the additional safe area insets of your view controller. UIKit also calls this method immediately before your view appears onscreen.