阿尔及利亚语音叠加层iOS更改标题

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

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

但这没有帮助。

coalawang 回答:阿尔及利亚语音叠加层iOS更改标题

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

voiceOverlayController.settings.layout.inputScreen.titleListening = "Voice-search is not enabled."
本文链接:https://www.f2er.com/2934514.html

大家都在问