在ZDCLoadingErrorView中更改UIlabel标题文本

问题描述 投票:0回答:1

当没有代理可用时,我需要在ZDCLoadingErrorView中更改标题UIlabel文本,但无法执行此操作。

使用ZDCChat.instance()。offlineMessageHandler.noAgentsMessage,我只能在ZDCLoadingErrorView中更改消息UIlabel。

ZDCLoadingErrorView.init()。标题返回nil,我没有找到任何方法在ZDCLoadingErrorView首次出现时添加通知。

提前致谢

zendesk
1个回答
0
投票

您可以通过位于ZDCChatStrings.bundle的Localizable.strings文件进行更改。关键是“ios.ZDCChat.noAgentsTitle”,如https://developer.zendesk.com/embeddables/docs/ios-chat-sdk/customization所述

© www.soinside.com 2019 - 2024. All rights reserved.