UIButton Padding in Swift 3
<p>So, I spent two days trying to figure out how to add padding around UIButton in Swift 3. I set a custom image (not background image) and trying to increase tappable area with the following code:</p>

<pre><code>backButton.imageEdgeInsets = UIEdgeInsets(top: -44, left: -44, bottom: -44, right: -44)
</code></pre>

<p>But it doesn't work! My biggest success is that the button itself becomes bigger with tappable area staying ridiculously small. Please, help.<a href="https://i.stack.imgur.com/QwgwX.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QwgwX.png" alt="enter image description here"></a></p>