I made a custom UINavigationBar looks like this:[![1]](https://i.stack.imgur.com/gMHQ8.png)
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
: