Contents

setNeedsUpdateOfSupportedInterfaceOrientations()

Notifies the view controller about a change in supported interface orientations or preferred interface orientation for presentation.

Declaration

func setNeedsUpdateOfSupportedInterfaceOrientations()

Discussion

By default, this method animates any changes to orientation. To perform a nonanimated update, call this method from performWithoutAnimation(_:).

See Also

Configuring the view rotation settings