I've seen a lot of discussion about orientation, rotation, and such.
I put together this class to make it easy for people to set like orientation and rotate between orientations automatically.
It also supports iPad!
mScreen = [BEScreen screenWithOrientation:BEScreenOrientationPortrait rotates:YES allowAllOrientations:YES]; [self addChild:mScreen]; [mScreen addEventListener:@selector(orientationChanged:) atObject:self forType:BE_SCREEN_EVENT_ORIENTATIONCHANGED];
If you have any additions or bug fixes, feel free to create a pull request on Github.
https://github.com/brianensorapps/BEScreen