I made a custom UINavigationBar
looks like this:[
Now I want to increase spacing between left and left bar button. I tried to do that this way using UIEdgeInsets
this way:
self.navigationItem.leftBarButtonItem?.imageInsets = UIEdgeInsetsMake(0, 20, 0, 0)
Then it gets shrieked :