iphone sdk 中默认屏幕的 UIInterfaceOrientation
我正在开发一款 iPhone 应用程序,我想支持所有方向。
问题是我希望根据启动时的方向以正确的方式启动default.png。有人可以为默认图像发布一些方法或正确的名称,以便我可以旋转它吗?
I am developing one iphone app, and i want to support all orientations.
The problem is that I want the default.png to be launched in the proper way according to the orientation at start up. Can someone post some method or proper name for default images so that I can rotate it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
基本上有一个仅适用于 iPad 的横向“默认”图像。在 iPhone 中,您应该只在应用程序的主方向上提供一个。
无论如何,如果您想这样做,这个问题中发布了一个解决方法:
根据当前横向模式自动旋转默认应用程序图像
Basically there is a landscape "default" image only for iPad. in iPhone you should suplly only one in the main orientation of your app.
anyway, if you want to do that, there is a workaround posted in this question:
Auto-rotate the default application image according to current landscape mode