Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

DataBits

macrumors newbie
Original poster
Aug 30, 2008
7
0
What is the best practice for image orientation when an iPhone application is intended to always operate in a dedicated landscape mode?

Is is best to orient the original image resources that are part of the application bundle at a 90 degree rotation so that it automatically displays properly in landscape mode on the iPhone or is best practice to leave the images in portrait (as loaded in Photoshop) and then use a transform method such as CGAffineTransformRotate to rotate the images for landscape mode on the iPhone?

Thanks.
 
You should be the entire view in your view controller. When your view has controls in it, images or otherwise, they get rotated along with their super view.

So leave them upright, and rotate the super view, don't rotate each image.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.