concept one image in category ios

appears as: one image
Hello! iOS Development

This is an excerpt from Manning's book Hello! iOS Development.

The easiest way to use an image for a button is to set its image in the Attributes Inspector. This is fine if you’ve made the exact button you want and aren’t going to change its size. A better way is to prepare a stretchable image and have the iPhone put the text on it for you. If you do that, you only need one image for all your buttons, and it will work no matter what the size or text.

Figure 8.15. To save a photo, you need to composite the disguises into one image.