Can I override view controller title when requesting UI?



Data ultimo post: 02 mag 2023

I'm on version 5.3 of the iOS SDK. I'd like to set my own title when pushing Zendesk UI onto my navigation controller, but when I try to update the title of the view controller returned by RequestUi, it is immediately overridden by code within the ZendeskSDK. Is this controllable by developers?

Examples:

let vc = RequestUi.buildRequestList(with:)

vc.title = "My Custom Title"

let vc = RequestUi.buildRequestUi(with:)

navigationController.pushViewController(vc, animated: true)

 

vc.title = "My Custom Title"

navigationController.pushViewController(vc, animated: true)

 

Setting the title in either of these manners doesn't persist it on the view controller that is pushed


0

4

0 commenti

Accedi per lasciare un commento.

Non hai trovato quello che cerchi?

Nuovo post