We are implementing the Zendesk chat SDK in our iOS - app. We successfully integrated the SDK using pod by following this instructions. https://developer.zendesk.com/embeddables/docs/ios-chat-sdk/chat
However we are facing some issues when we are customising the UI.
We followed step by step guid to customise the UI, however none of the customisation is working for us.
Here is the sample steps we used to customize the UI:
First initialise the zendesk chat in appDelegate:
We want to present the zendesk UI on top of UIViewController, so we used following code:
ZDCChatView.appearance().backgroundColor = .blue
ZDCChatView.appearance().tintColor = .white
ZDCChatUI.appearance().backgroundColor = .blue
ZDCChatUI.appearance().tintColor = .white
ZDCChatOverlay.appearance().backgroundColor = .blue
ZDCChatOverlay.appearance().tintColor = .white
But none of above colours are making any difference in the UI. We want to change the title of the screen, tint color of the navigation bar, background color of the chat UI.
We cannot set these properties, as our app is using customised colours and different settings for different UINavigationControllers.
We tried creating a new instance of UINavigationController and pushing ZDCChat, but even that is not changing the color of NavigationBar or it’s tint color.
No idea where to go from here!
Please sign in to leave a comment.