简体   繁体   English

如何确保每次使用Xcode时,iPhone模拟器都可以跳过启动屏幕?

[英]How can I make sure that the iPhone simulator in Xcode will move past the the startup screen every time I use it?

When I run the iPhone simulator, sometimes it doesn't move past the opening screen, and sometimes it does. 当我运行iPhone模拟器时,有时它不会移过打开的屏幕,有时却不会。

What I am calling the opening screen is the screen which has the app tittle on it. 我所说的打开屏幕是带有应用标题的屏幕。

I have tried closing and re-opening it. 我尝试关闭并重新打开它。 But it doesn't seem to solve the problem, as it still comes back. 但这似乎并不能解决问题,因为它仍然会回来。

I am using the new Xcode beta but this problem also happens to me often in Xcode 6. 我正在使用新的Xcode Beta,但在Xcode 6中我也经常遇到此问题。

This happens to me too sometimes. 有时候我也会发生这种情况。 Simply stop and directly press the "Run" button again. 只需停止并再次直接按“运行”按钮即可。

You can also try to change the Device or uninstall your app on the selected device. 您也可以尝试更改设备或在所选设备上卸载应用。

Also try to close the Simulator and open it again and try to run your app after that 另外,请尝试关闭模拟器并再次将其打开,然后尝试运行您的应用

The simulator in my opinion is a little buggy to me. 我认为模拟器对我来说有点麻烦。 This seems to happen to me a lot the first time I run the simulator. 第一次运行模拟器时,这似乎在我身上发生了很多。 After that it seems a little more stable. 之后,它似乎更加稳定。

My answer is you cannot make sure about that, since it is just a simulator. 我的答案是您无法确定 ,因为它只是一个模拟器。

This happen to me to when i use xcode6 sometimes, but when i use xcode 5.1.1 it is working perfectly. 这有时发生在我有时使用xcode6的时候,但是当我使用xcode 5.1.1时,它运行良好。

I think xcode6 do not stop the current running app before running the other instead it just override the current "same" running app. 我认为xcode6不会在运行另一个应用程序之前停止当前正在运行的应用程序,而是只会覆盖当前“相同”的运行应用程序。 here is my theory as i observe it. 这是我观察到的理论。

Assuming simulator is running. 假设模拟器正在运行。

in XCode 5.1.1: 在XCode 5.1.1中:

Stops the currently running app > Compile > Run 停止当前正在运行的应用程序 > 编译 > 运行

but in XCode 6: 但在XCode 6中:

Compile > Override the same running app 编译 > 覆盖同一运行中的应用

But you dont want to worry about that so much, as long as it doesn't appear in actual device it is all good. 但是,您不必为此担心,只要它不在实际设备中出现就可以了。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM