Interface

iOSStyleChangeObserver


Warning

This item was deprecated in version 2022r2. Please use MobileScreen.AppearanceChanged as a replacement.

Description

Used by controls that need to know when the style of the OS changes, for example, from light mode to dark mode.

Methods

Name

Parameters

Returns

Shared

ViewStyleChanged

style As iOSView.UserIntefaceStyles

Method descriptions


iOSStyleChangeObserver.ViewStyleChanged

ViewStyleChanged

Called for controls that support the iOSStyleChangeObserver interface when the style of the OS changes (such as from light mode to dark mode).

Notes

If you implement this interface on your control, you must implement the method as shown here.

Compatibility

iOS projects on the iOS operating system.