Change the frame and / or view transformation in the autorotation detection method of the view controller, something like this:
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)to duration:(NSTimeInterval)duration { [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:duration];
user529758
source share