How do I reduce the image size so that UIButton
is not pressed when the user click on the extra space of the image on the right side and the button is not using auto constraint
barbutton.image = UIImage(named: "backbutton")?.imageWithRenderingMode(UIImageRenderingMode.AlwaysOriginal)
I am trying to decrease my hit area but image insets don't help as the hit area remains the same and the UIButton image reduces which does not help
The bar button: