UIButton image and background image, which one to use for custom image?
iphone, uikit
Solution
The background image is scaled to fill the bounds of the UIButton, and is displayed behind the title. The foreground image is not scaled, and displayed next to the button title.
So if you want to put a title on your button, use the background image.
Problem
I am customizing my UIButton and I can either set image or background image. They both work fine but how do I decide which one to use? Are these two methods for when people have image that are broken up into foreground and background so they can layer them?