In my AppDelegate.swift file I have this two lines:
let barButtonItemMenu = UIBarButtonItem.appearance()
barButtonItemMenu.setTitleTextAttributes([NSAttributedStringKey.foregroundColor: UIColor.clear], for: .normal)
that allows me to remove the back
text in my all navigation controllers. All is good but when I open the photo gallery with UIImagePickerController
the Cancel
button does not appear, but when I delete that two lines the Cancel
button appears and my back
text appears.
My question is how can I show the Cancel
button in my photo gallery? and how can I remove the back
text in my all navigation controllers?