NowVoiceDefaultTheme structure - iOS

  • Release version: Zurich
  • Updated July 14, 2026
  • 1 minute to read
  • 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.

    Table 1. Parameters
    Name Type Description
    nowUITheme NowUIThemeable Optional. Theme to use as the source for voice UI colors.

    Default: NowUIDefaultTheme

    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())