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.

UIKit Configuration Guide

Global IM UIKit global configuration is designed to provide easy-to-use feature settings, helping you quickly build a chat application.

Configuration Instructions

Global IM UIKit defines global configurations in RCIMKitConfig.

Each application has only one Global IM UIKit global configuration.

Configuration example:

/// Whether to display network status, default is YES
[RCIMKitConfig shared].displayNetStatus = NO;

/// Whether to display send status, default is YES
[RCIMKitConfig shared].displaySendStatus = NO;

/// Theme mode
[RCIMKitConfig shared].themeType = RCThemeTypeAny;

/// Whether to enable message alert sound when the app is in the foreground, default is YES
[RCIMKitConfig shared].enableMessageAlertSound = NO;

/// Whether to enable local notifications for messages when the app is in the background, default is YES
[RCIMKitConfig shared].enableMessageLocalNotification = NO;

Theme

Global IM UIKit supports both light and dark theme modes. You can set the theme mode via the themeType property in RCIMKitConfig:

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

Checking Global IM UIKit Configuration

Global IM UIKit configurations are applied in real-time. Modified configurations will take effect during the next UI refresh or operation. It is recommended to complete all configurations after initializing the App Key.