方向更改
答
我会用一个动画块这个方法里面,像这样:
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
[UIView beginAnimations:@"InterfaceFade" context:nil];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationDuration:duration];
// Change properties to animate here (Ex: view.alpha = 0.0)
[UIView commitAnimations];
}
衰落的作品,但我仍然可以看到窗口旋转prioir它。我有没有办法解决这个问题?很多谢谢你的回应。 – scs 2010-07-14 13:52:40