[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/realtime/realtimekit/ui-kit/api-reference/ios/app-theme/ [Back]  [Original]

AppTheme Cloudflare Realtime docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /Realtime
  3. /
  4. /iOS
  5. /AppTheme

AppTheme

Last updated Apr 23, 2026Copy as MarkdownView as MarkdownAgent setup
OverviewAccessMethodsUsage ExamplesAccess default themeApply a custom theme

The application theme singleton that provides pre-configured appearance objects for UI components. Use AppTheme.shared to access default appearances or call setUp(theme:) to apply a custom theme.

Access

let theme = AppTheme.shared

Methods

Method Return Type Description
setUp(theme: AppThemeProtocol) Void Applies a custom theme conforming to AppThemeProtocol

Usage Examples

Access default theme

import RealtimeKitUI

let theme = AppTheme.shared
let titleAppearance = theme.meetingTitleAppearance
let clockAppearance = theme.clockViewAppearance

Apply a custom theme

import RealtimeKitUI

class CustomTheme: AppThemeProtocol {
    // Implement required appearance properties
}

let customTheme = CustomTheme()
AppTheme.shared.setUp(theme: customTheme)
PreviousRtkSetupScreenNextDesignLibrary

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page