Issue with navigation bar title on iOS
Posted Nov 11, 2022
Hello everyone,
I'm having several issues with the Zendesk API concerning titles in navigation bars...
Here are two problems I'm facing:
The first picture is a screenshot of an ongoing conversation with an agent, where the title is not visible neither on light or dark mode. This screen is accessible when tapping on an already started conversation with an agent through RequestUi.buildRequestList(). I have configured this screen to show embedded in a navigation controller that I have customized myself. The first screen that appears, the RequestListViewController, respects the font, title color, navigation bar tint and background colors. Once you tap on an ongoing conversation, the title no longer shows... But the other properties are still respected.
The second picture is a screenshot of an empty dialog with an agent, accessible through the "Start a new conversation" through RequestUi.buildRequestList() in case the list of conversation is empty OR from the default button at the top-right of the screen, which enables us to start a conversation as well... Note that this issue only happens on dark mode, the text "Report a problem" is black on light mode.
0
6 comments
Eric Nelson
I've went ahead and tried testing your sample app to replicate the behavior you've mentioned. The application is working as expected and I haven't run into any issues that you mentioned on light or dark mode. I've tested this on iOS 13-15 and the result has been the same throughout. Unfortunately without being able to replicate, I'm unable to assist with solving this issue. If you're experiencing these issue with your example, you may want to look into your xCode build.
0
Eric Nelson
0
Doris
Hi Eric, here is a link to download a sample app I created with the issues mentioned above. I put comments in order to better guide you. Please let me know when you download so I can restrict access to the link.
https://drive.google.com/file/d/1ZS4RR9TggZfIo9s4z7yfpUaT7y7w0JdM/view?usp=share_link
Apologies for such a late answer, I thought my message had been submitted before now.
0
Eric Nelson
Can you provide a sample app with your implementation so that I can take a look in an isolated environment?
Thanks!
0
Doris
Hi Eric,
Thanks for answering! I think you've only answered part of my question, which is related to the second image I showed above. The first image clearly doesn't use dark/light mode as the navigation bar shows in blue for both dark/light mode. Therefore, the title whether white colored or not, should show in all cases. But there are cases in which it doesn't appear. Opening it a second time afterwards, shows it...
Please let me know your thoughts,
Thanks,
Doris
0
Eric Nelson
Hi Doris,
Unfortunately dark mode isn't supported in our sdk's. Though you can set the text to a specific color which would be visible in both light and dark mode. We cover this here.
Sorry for the inconvenience.
0
Sign in to leave a comment.