SupportedAppearance
Controls whether the SDK uses light, dark, or device appearance
Definition
public enum SupportedAppearance: Sendable {
case dark
case device
case light
}Cases
| Case | Description |
|---|---|
| dark | Forces the SDK to use dark appearance regardless of the device setting |
| device | The SDK follows the device's current appearance setting |
| light | Forces the SDK to use light appearance regardless of the device setting |
Default
public extension SupportedAppearance {
static let `default`: Self = .device
}private let supportedAppearance: SupportedAppearance = .defaultSample Usage
private let supportedAppearance: SupportedAppearance = .lightUpdated 8 days ago
