Contents

viewSafeAreaInsetsDidChange()

Called to notify the view controller that the safe area insets of its root view changed.

Declaration

func viewSafeAreaInsetsDidChange()

Mentioned in

Discussion

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.

See Also

Extending the view’s safe area