How to set the margin of backBarButtonItem?

217 Views Asked by At

How to set the margin of backBarButtonItem ?

Using these methods has no effect:

backItem.imageInsets = UIEdgeInsets(top: 0, left: 100, bottom: 0, right: 0)
backItem.width = 100
self.viewControllers.last?.navigationItem.backBarButtonItem = backItem
0

There are 0 best solutions below