iPhone应用程序启动时间指南 [英] iPhone application launch time guidelines
问题描述
请向我指出iPhone应用程序的启动时间指南.
Please point me to the iPhone application launch time guidelines.
我看到有大约24秒的硬限制.如果操作系统没有在以下时间启动,则会终止该应用程序,并显示以下消息:
I see that there is a hard limit of ~24 seconds. OS kills application if it did not started in that time with the message:
com.bundle.id failed to launch in time
在此上也有质量检查文章. (直到手机上的操作系统终止该应用程序的时间为24秒.)
There is also a QA article on this. (24 seconds is the time until OS on my phone kills the app.)
但是我认为文档中的某个地方应该有一个较短的软限制.但是,我找不到它.
But I think that there should be a shorter soft limit somewhere in the docs. However, I was not able to find it.
推荐答案
I don't think you will find any numeric limits in the documentation. Apple has been vague about that stuff for a reason. They don't want to come out and say that "apps that have a launch time greater than x seconds are not allowed". Your app may only get rejected from the App store if it's launch time was so long that it was simply unacceptable/unusable. I'm not sure where the 24 seconds number came from, but perhaps that is what Apple uses in it's automated testing for App store approval.
Apple的立场很简单:您的应用程序的启动时间应尽可能短.如果您的应用程序需要很长时间才能启动,则用户将不太愿意使用它,这只会阻碍您的应用程序的成功."对我来说似乎很合理.
Apple's stance is simply: "Your app's launch time should be as short as possible. If your app takes a long time to launch, users will be less inclined to use it, which will only hinder your app's success." Seems pretty reasonable to me.
这篇关于iPhone应用程序启动时间指南的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!