I\'m trying to have one of the children views in my screen (owned by one view controller) not rotate when the device rotates. My view controller allows rotations as
Is your code actually executed? (Do you implement shouldAutorotateToInterfaceOrientation: ?)
stuckview.transform = CGAffineTransformMakeRotation(M_PI_2);
should do the job.
Note: The functions take radians not degrees.