iOS第一次安装的App,打开时比较慢
PHP中文网
PHP中文网 2017-04-18 09:28:24
0
4
736

1.有一些App,点击时,图标变成灰色,然后手放开,灰色就一直在,不是立刻启动了App,然后过了好几秒后,图标灰色消失,App才启动。
遇到这样的问题,如何考虑?
是第一次打开新安装的App时,会加载各种资源?还是系统会验证这个App的安全性等?我不太清楚,昨天测试提了这个Bug,要求一定要解决,可是我自己又无法重现。
所以想知道App的机制?系统的不同?


我发现好多回答者都是在说内存啊加载啊什么的,而我这个问题是App并没起来的时候,是在桌面上点击图标的时候,结果图标一直停留在灰色的效果。此时App的启动页都看不到呢

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(4)
刘奇

In the main method of startup, use multiple threads to open multiple methods, especially the network loading method. Don’t wait for the result to be available before performing the next step. Basically, you need to have the idea of ​​using multi-threading. Let’s start with this suggestion for the time being. .

洪涛

http://www.anselz.com/2014/03...Performance Optimization: Startup Time, Memory/
This is an article I have read before, the author can refer to it

小葫芦

First you have to find the reason. It takes more time to detect those areas through Instrument, then optimize them, and put those that can be placed in the background later

伊谢尔伦

I also encountered a long gray time on one mobile phone, but no problem on other mobile phones. Have you solved it? Sir

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!