NowVoiceDefaultTheme structure - iOS
The default implementation of NowVoiceThemeable.
NowVoiceDefaultTheme - init(nowUITheme: NowUIThemeable)
Creates an instance of NowVoiceDefaultTheme using the specified NowUIThemeable as the source for voice UI colors.
| Name | Type | Description |
|---|---|---|
| nowUITheme | NowUIThemeable | Optional. Theme to use as the source for voice UI colors. Default: |
The following code example shows how to call this function.
// Use the default NowUI theme
let theme = NowVoiceDefaultTheme()
// Or derive voice UI colors from a custom NowUI theme
let customTheme = NowVoiceDefaultTheme(nowUITheme: MyNowUITheme())