我正在开发一个iPad应用。当应用程序启动时,我将其显示在向右的横屏模式中。但是一旦应用程序启动,我就会收到此消息:
Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation
我在所有的类中都使用了这种方法。
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
我也在我的plist文件中将支持的接口方向(iPad)设置为了横向右侧。
如何解决这个警告信息?