Getting the background image position perfect
April 12, 2009 § Leave a comment
This is a very minor but tricky time consuming task. Getting the background image aligned proportionally is a quite tricky.
If you have status bar and navigation bar are turned off to maximize the UI screen, you should format the background image exactly 320×460. Within Interface Builder, use Size Inspector to enter exactly 320 and 460 for W and H.
In Attribute Inspector, Select Mode: Scale To Fill. Check the “opaque” box in the drawing section. This will save CPU consumption as IB doesn’t have to draw anything behind the background image.
Advertisements
Leave a Reply