Information Technology Reference
In-Depth Information
Creating a colored background
The image view doesn't have to contain an image; you can use it to create a static colored background. To select
a preset color, click the blue up and down arrows at the right of the Background menu. You see the list shown
in Figure 8.11, which displays standard system colors.
While black, white, and gray appear as you'd expect, some of the background colors are more or less obviously
textured. For example, the Group Table View Background Color includes vertical stripes, and the Simulator
may not always display this accurately.
To set a custom color, click in the area to the left of the menu's up and down arrows to reveal a standard OS X
Color Picker. Use the controls to select a color for the image view in the usual way. You can change the opacity
for special effects.
CAUTION
Some of the textures look good, but textures may be OS dependent, and they may not appear correctly in the Sim-
ulator. If you build an app that supports an older version of iOS, users may not see what you expect them to. To
test this, keep one or more hardware test units running older versions of iOS. Differences aren't usually critical,
but it's useful to be aware of this issue.
FIGURE 8.11
Setting a static background color
Search WWH ::




Custom Search