sou*_*ark 13 ipad uiinterfaceorientation ios5.1
我正在构建一个ipad应用程序.当应用程序启动时,我以横向右模式显示它.但是一旦应用程序启动,我就会收到此消息
Two-stage rotation animation is deprecated. This application should use the smoother single-stage animation
Run Code Online (Sandbox Code Playgroud)
我在所有课程中都使用了这种方法
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
}
Run Code Online (Sandbox Code Playgroud)
我还在plist文件中将支持的界面方向(iPad)设置为横向.如何解决此警告消息?
如果您在故事板中以root用户身份运行带有空标签栏控制器的应用程序,也可以收到此错误消息.我刚刚开始使用应用程序而且我UITabBarController还没有视图控制器,但是它正在呈现一个登录模式.
| 归档时间: |
|
| 查看次数: |
11941 次 |
| 最近记录: |