【问题标题】:Algolia voice-overlay-ios change titleListeningAlgolia voice-overlay-ios 更改titleListening
【发布时间】:2020-04-05 19:35:43
【问题描述】:

我想更改inputScreen的“正在听...”文本:

voiceOverlayController.settings.layout.inputScreen.titleListening = "Another text for listening..."

但这无济于事。

【问题讨论】:

    标签: ios swift search algolia voice


    【解决方案1】:

    请务必在 ViewController 的适当生命周期中添加用于更改 UI 的代码。当代码在viewDidAppear(:_) 下时,我会正确显示以下内容:

    voiceOverlayController.settings.layout.inputScreen.titleListening = "Voice-search is not enabled."
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-07-24
      • 1970-01-01
      • 1970-01-01
      • 2021-11-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多