I need to customise the look of a back button in a Swift project.
Here\'s what I have:
Here\'s what I want:
I\'ve tried creating my own UIBarButtonItem
I have tried all the above and all make the custom image without changing the text The only one worked for me is from this answer
let backBTN = UIBarButtonItem(image: UIImage(named: "Back"),
style: .plain,
target: navigationController,
action: #selector(UINavigationController.popViewController(animated:)))
navigationItem.leftBarButtonItem = backBTN
navigationController?.interactivePopGestureRecognizer?.delegate = self