在ipad / iphone上设置不同的启动界面界面 [英] Setup different launch screen interface on ipad/iphone

查看:976
本文介绍了在ipad / iphone上设置不同的启动界面界面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的iPhone应用程序中设置不同的启动画面 .xib 文件。

I am trying to setup different launch-screen .xib file in my iPhone application.

我想要要知道有什么方法可以在iPad版和iPhone版中设置不同的启动屏幕文件。就像Xcode允许iPad / iPhone的不同故事板一样。我认为必须有一个选择。

I want to know is there any way I can setup different launch screen file in iPad version and iPhone version. Just like Xcode allows different storyboard for iPad/iPhone. I think there must be an option.

看一下屏幕截图。

推荐答案

在Info.plist文件中,创建另一个名为<的条目code> UILaunchStoryboardName~ipad 并将其设置为 LaunchScreeniPad.xib

In the Info.plist file, create another entry called UILaunchStoryboardName~ipad and set it to your LaunchScreeniPad.xib

这篇关于在ipad / iphone上设置不同的启动界面界面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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