See also 'Notifications'

Default Rotation

In the applicaitons Info.plist add the row:

Initial Interface Orientation (UIInterfaceOrientation)

Enabling Auto Rotation For A View

Add to #ViewController.m

//********** SHOULD AUTOROTATE **********
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
{

	//Set which orientations we allow
	if (
	(toInterfaceOrientation == UIInterfaceOrientationPortrait) ||
	(toInterfaceOrientation == UIInterfaceOrientationPortraitUpsideDown) ||
	(toInterfaceOrientation == UIInterfaceOrientationLandscapeLeft) ||
	(toInterfaceOrientation == UIInterfaceOrientationLandscapeRight)
	)
	{
		return YES;
	}
	else
	{
		return NO;
	}

}
For Each Of the Objects In the View

Select them and in their inspector size tab set the auto sizing anchors to use.

Adjusting Based On Autorotation

This override function can be used to change controls layout as the orientation changes


//********** WILL ROTATE ORIENTATION **********
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
										 duration:(NSTimeInterval)duration
{
	if (UIInterfaceOrientationIsPortrait(toInterfaceOrientation))
	{
		//----- GOING TO PORTRAIT -----
		[[self view] setBackgroundColor:[UIColor blueColor]];
	}
	else
	{
		//----- GOING TO LANDSCAPE -----
		[[self view] setBackgroundColor:[UIColor redColor]];
	}
}