Saturday, April 09, 2011

iPhone force rotate to portrait

[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait];

//Probably works for iPad too

No comments:

Post a Comment