Color.IsDarkMode

From Xojo Documentation

Method


Color.IsDarkMode() As Boolean

New in 2019r3

Supported for all project types and targets.

True when the devices is currently in dark mode, otherwise False (iOS-only).

Notes

Only supported on iOS at this time. For other platforms use the global IsDarkMode method.