- I created a button in interface builder.
- Set fixed width = 120 and height = 40 constraints to this button.
- After I add an image to button and set image insets (top: 10, left: 0, bottom: 10, right: 100) to move the image to the left side.
The problem: In different iOS versions (in my case it’s: 10.3.1, 12.1 and 13.1) the button drawing differently. Button’s title origin is (x = 29.5, y = 11) for iOS 13.1 and (x = 44, y = 11) for older iOS.
How to make buttons look identical in all iOS versions?