I've been trying to figure out how to get a UIButton set up with a custom background image. I set the background image but the button itself seems to always leave a pretty substantial gap at both the top and the bottom. This makes the clickable areas significantly larger than the button background image. Is there a way to constrain the button to the background image size? I cannot seem to find an answer to this.
Edit: Apparently the .png file I was sent is messed up. It didn't look like there was any extra space around the image using preview. When I open the image in an editor like Gimp or Photoshop it shows a gap below and above the image. A simple trim should fix the problem I was having......