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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Getting the background image position perfect at Web Builders.

meta

%d bloggers like this: