From Xojo Documentation
| This method is only available on platform.
For cross-platform compatibility, use ＃If...＃Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform.
True when the devices is currently in dark mode, otherwise False (iOS-only).
Only supported on iOS at this time. For other platforms use the global IsDarkMode method.