Problem: backBarButtonItem has extra space in iOS 10.
As you can see from images above. Back button in iOS 10 has an extra space.
According to this source
My implementation
In AppDelegate
UINavigationBar.appearance().tintColor = ColorHelper.bckgTextTitleWhite
UINavigationBar.appearance().backIndicatorImage = UIImage(named: "back-button")
UINavigationBar.appearance().backIndicatorTransitionMaskImage = UIImage(named: "back-button")
In ViewController
let backBarButton = UIBarButtonItem(title: "", style: .plain, target: self, action: #selector(back(_:)))
self.navigationItem.backBarButtonItem = backBarButton
I want to achieve the same UI in iOS 10 as in iOS 11.