I want to remove the text from the back button, but I want to keep the icon. I have tried
let backButton = UIBarButtonItem(title: \"\", style: UIBarButtonIt
Xcode 10, Swift 4+
Similar answer to the others here but it is worth noting that if the text still isn't cleared, you have to click Space then Enter.