Disable Animation while in willAnimateRotationToInterfaceOrientation?
我有一个滚动视图,上面有很多照片缩略图,就像在照片应用程序/图像选择器中一样。旋转时,我想在旋转动画的中间(在
在
1 2 3 | [UIView setAnimationsEnabled:NO]; //insert what you want to not be animated here [UIView setAnimationsEnabled:YES]; |