Skip to content

Set the dark mode of the applet

1. Effect show

2-1-1.png

2. Coverage

This setting is implemented by the App, once set, all the applets in the App will be implemented according to this effect

3. iOS setup method

When initializing the SDK, the configuration is done through the UI configuration items as follows:

objectivec
//Set the dark mode of the applet
[FATClient sharedClient].uiConfig.autoAdaptDarkMode = YES;

4. Android setup method

Currently Android is not adapted for dark mode.

For some of the newer phone systems for dark mode system-level processing, in some systems will automatically follow the system dark mode.