-
(void)willAnimateRotationToInt erfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
duration:(NSTimeInterval)duration {
switch
(interfaceOrientation) {
case
UIInterfaceOrientationPo rtrait:
home健在下
break;
case
UIInterfaceOrientationPo rtraitUpsideDown:
home健在上
break;
case
UIInterfaceOrientationLa ndscapeLeft:
home健在左
break;
case
UIInterfaceOrientationLa ndscapeRight:
home健在右
break;
default:
break;
}
}