Instance Method

setNeedsUserInterfaceAppearanceUpdate

Notifies the view controller that a change occurred that might affect the preferred interface style.

Declaration

- (void)setNeedsUserInterfaceAppearanceUpdate;

Discussion

UIKit calls this method to let the view controller know when system-level interface style changes occur. You can also call it to let UIKit know when you change your view controller in a way that affects the preferred user interface style.

See Also

Adjusting the Interface Style

overrideUserInterfaceStyle

The user interface style adopted by the view controller and all of its children.

preferredUserInterfaceStyle

The preferred interface style for this view controller.

childViewControllerForUserInterfaceStyle

The child view controller that supports the preferred user interface style.

UIUserInterfaceStyle

Constants indicating the interface style for the app.