横向模式下的启动画面
我正在开发一个仅处于景观模式的应用程序。在我的应用程序中,我使用启动屏幕图像 (480 X 320)。当我运行 Xcode 时,Splash 图像仅以纵向模式显示,但视图仅以横向模式显示。
任何人都可以建议如何在景观模式下实现启动屏幕。 提前致谢。
I am developing an application which is in LandScape mode Only. In my application ,I am using a splash Screen Image (480 X 320). When I am running Xcode then Splash image appears in Portrait mode only but the view is in LandScape mode only.
Can Anyone suggest how to implement splah Screen in LandScape mode.
Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请编辑您的 Info.plist 文件以添加具有适当值(UIInterfaceOrientationLandscapeRight 或 UIInterfaceOrientationLandscapeLeft)的 UIInterfaceOrientation 键,如 ListABC 中所示。这向系统提供了在启动时适当设置状态栏方向的提示。
ListABC:以横向模式启动应用程序
UIInterfaceOrientation
UIInterfaceOrientationLandscapeRight
此链接将帮助您
http://groups.google.com/group/iphonesdkdevelopment/browse_thread/thread/ef734379136f09e9?pli=1
Please edit your Info.plist file to add the UIInterfaceOrientation key with the appropriate value (UIInterfaceOrientationLandscapeRight or UIInterfaceOrientationLandscapeLeft), as shown in ListABC. This provides a hint to the system to set the orientation of the status bar appropriately at launch time.
ListABC: Starting your application in landscape mode
UIInterfaceOrientation
UIInterfaceOrientationLandscapeRight
this link will help you
http://groups.google.com/group/iphonesdkdevelopment/browse_thread/thread/ef734379136f09e9?pli=1