简体   繁体   English

关于iOS开发。 当我在iPhone6上运行项目时,启动屏幕没有显示,但是在模拟器iPhone6上运行时,显示了启动屏幕

[英]About iOS development. The launch screen didn't show when I run my project on my iPhone6,however,its's show when run on simulator iPhone6

I don't know why, and this is the first time i came accross this issue. 我不知道为什么,这是我第一次遇到这个问题。
NOTE:I had set the launch screen 注意:我已经设置了启动屏幕

What iOS is your device on? 您的设备在哪个iOS上?

In xCode 6/iOS8 you use a Xib as your launch screen, older versions use just an image set in assets. 在xCode 6 / iOS8中,您将Xib用作启动屏幕,较早的版本仅使用资产中设置的图像。 (look at your project 'General' settings under 'App Icons and Launch Images' and check to see what is set. (请在“应用程序图标和启动图像”下查看项目的“常规”设置,然后检查设置内容。

在此处输入图片说明

This article explains a bit more: 本文介绍了更多内容:

http://useyourloaf.com/blog/using-a-launch-screen-storyboard/ http://useyourloaf.com/blog/using-a-launch-screen-storyboard/

You can add LaunchImage in Image Assets ad use LaunchImage in Image Assets as below. 您可以按以下方式在“图像资产”中添加LaunchImage广告,使用“图像资产”中的LaunchImage。

在此处输入图片说明

You need to integrate LaunchImage as follow.. 您需要按以下方式集成LaunchImage。 在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我尝试运行项目并且未使用模拟器时,为什么iPhone模拟器显示“正在使用模拟器”? - Why does the iPhone simulator show “Simulator in use” when I try to run my project and the simulator is not in use? 为什么在Xcode中使用iPhone6中的启动图像无法全屏显示? - Why doesn't view show full screen with Launch Image in iPhone6 in Xcode? 我的应用未在Appstore中显示与iPhone6和iPhone6 +的兼容性 - My app dont's show the Compatibility with iPhone6 and iPhone6+ in Appstore 在Xcode6中,为什么[CMAltimeter isRelativeAltitudeAvailable]在带有iPhone6的模拟器中运行时返回FALSE? - In Xcode6, why does [CMAltimeter isRelativeAltitudeAvailable] returns FALSE when run in Simulator with iPhone6? iPhone模拟器中iPhone6的屏幕分辨率错误 - Wrong screen resolution for iPhone6 in iPhone Simulator 在iPhone6设备上运行我的应用程序时出现错误 - Error appeared when running my App on iPhone6 device iPhone6屏幕尺寸在模拟器上返回375 - iPhone6 screen size returns 375 on simulator ios:在iphone6上运行时,增加UIViewController中自定义视图的宽度 - ios: Increase width of custom view in UIViewController while run on iphone6 iPhone5(和iPhone6)启动屏幕上的黑条 - Black bars on launch screen on iPhone5 (and iPhone6) 为什么我的应用程序可以在模拟器中运行,但是在iPhone上运行时却卡在启动屏幕上? - Why does my app work in the simulator but get stuck on the splash screen when I run it on my iPhone?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM