slider control switches from view1 to view2 ok:
[window removeFromSuperview];
[window addSubview:view2];
[window makeKeyVisible];
... but within willRotateToInterfaceOrientation function:
if (toInterfaceOrientation == UIInterfaceOrientationLandscapeRight) ...
... I can move controls around ok -- but rotate view2 doesn't rotate:
CGAffineTransform transform = CGAffineTRansformMakeRotation(M_PI/2); // rotate 90 degrees
[self.view2 setTransform:transform];
Any ideas to rotate the 2nd view when I rotate right (to landscape) in similator? (view1 rotates ok, automatically)