Feedback some iOS SDK issues | Community
Skip to main content

Feedback some iOS SDK issues

  • June 5, 2023
  • 0 replies
  • 0 views

张晨晖
let ident = Identity.createAnonymous(name: User.uid ?? "no name", email: User.phone ?? (User.email ?? "no email"))
Zendesk.instance?.setIdentity(ident)
Support.instance?.helpCenterLocaleOverride = SMLanguageTool.languageSimplefyForZendesk()
let helpCenterUIConfig = HelpCenterUiConfiguration()
helpCenterUIConfig.showContactOptions = false
let articleUIConfig = ArticleUiConfiguration()
articleUIConfig.showContactOptions = false
let helpCenter = HelpCenterUi.buildHelpCenterOverviewUi(withConfigs: [helpCenterUIConfig, articleUIConfig])
let nav = UINavigationController(rootViewController: helpCenter)
self.navigationController?.present(nav, animated: true, completion: nil)

Language parameters are passed in dynamically

In the case of not restarting the App, the part marked in the picture cannot change dynamically according to the incoming language parameters.