Why does a custom UIButton image does not resize in Interface Builder?

willc2 picture willc2 · Jun 30, 2009 · Viewed 72.4k times · Source

Why does a custom UIButton image not resize with the button?

I set its view mode to Scale to Fill in Interface Builder, but unlike a UIImageView image, it doesn't respect that setting.

Am I looking in the wrong place or is it not possible?

Answer

teabot picture teabot · Jun 30, 2009

While this may not be quite what you're after - the background image does scale.