[英]CNContactViewController - change color of cancel and done button
When i open CNContactViewController
, It opens view without cancel and done button.当我打开CNContactViewController
时,它会打开没有取消和完成按钮的视图。 This issue only occurs in iOS13 and later.此问题仅在 iOS13 及更高版本中出现。
How can i change the bar button colors?如何更改条形按钮 colors?
I tried this link, but it is not working我试过这个链接,但它不起作用
Change color of cancel and done button in CNContactPicker 在 CNContactPicker 中更改取消和完成按钮的颜色
let controller = CNContactViewController(forNewContact: nil)
controller.delegate = self
navigationController?.pushViewController(controller, animated: true)
I have checked linked is working fine我检查了链接工作正常
change code to将代码更改为
navigationController?.pushViewController(controller, animated: true)
with this有了这个
self.present(UINavigationController(rootViewController: controller), animated:true)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.