Skip to main content

Starting March 27, 2026, RC is rebranded as Nexconn. Existing RC SDK customers can continue using this documentation. New customers should refer to the Nexconn developer documentation.

Theme Mode

Global IM UIKit supports three global themes: light, dark, and system default. You can set the theme mode using the themeType property in RCIMKitConfig:

/// Theme type
typedef NS_ENUM(NSUInteger, RCThemeType) {
RCThemeTypeAny = 0, /// Follow system
RCThemeTypeLight = 1, /// Light
RCThemeTypeDark = 2, /// Dark
};

The default theme mode for Global IM UIKit is RCThemeTypeAny (follow system).

Light Theme

Set the global theme to light mode.

[RCIMKitConfig shared].themeType = RCThemeTypeLight;

(width=220) (width=220) (width=220)

Dark Theme

Set the global theme to dark mode.

[RCIMKitConfig shared].themeType = RCThemeTypeDark;

(width=220) (width=220) (width=220)