根据当前横向模式自动旋转默认应用程序图像 [英] Auto-rotate the default application image according to current landscape mode

查看:101
本文介绍了根据当前横向模式自动旋转默认应用程序图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以根据目前的横向模式自动旋转预设应用程式图片?我可以根据 UIDevice 类的信息旋转我的视图,但我希望整个应用程序从一开始就处于正确的横向模式。

Is it possible to auto-rotate the default application image according to current landscape mode? I can rotate my views just fine according to information from the UIDevice class, but I would like the whole application to be in the correct landscape mode from the start.

推荐答案

这是不可能的。如果您的应用程序设计为横向模式,您可以旋转默认图片,但无法显示不同的图片或根据应用程序启动时的方向旋转。

This isn't possible at the moment. If your app is designed to be in landscape mode you can obviously rotate your Default image but there is no way to show a different image or rotate it based on the orientation when your app launches.

这篇关于根据当前横向模式自动旋转默认应用程序图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆