Apple requirements for programmatic download

ε祈祈猫儿з 提交于 2019-12-24 00:22:40

问题


My application is downloading data from web such as JSON, pictures, e.t.c. When installed the amount of data is supposed to be more than 50mb.

It will be expensive for those who use 3G connection. I guess my application needs to find out what is the type of the internet connection, I was told that Apple has it's own requirements for downloads, but I couldn't find any useful information from internet.

Besides that my app gives an option to download wallpaper to pictures gallery, and I guess I need to check for the connection type at this point, too?


回答1:


I presume from your other question that you've discovered Reachability, from which you can determine how you're connected to the Internet.

And in answer to your other question, yes, it's reported that Apple discourages apps that download too much data over cellular connections. On Avoiding iPhone App Rejection at mobileorchard.com, they suggest:

If your app downloads data over the cellular network, ensure you do not use too much bandwidth. How much is too much? Well, there isn’t an exact number, but a tech support person from Apple advised me to not exceed 4.5 meg of data per 5 minutes of activity. You can test your app’s usage by going into your iPhone settings, choosing the General->Usage menu and clearing the stats. Then run your app for 5 minutes, return to this screen and see what the stats say. Also, to get the most accurate numbers, you should turn off any other network activity on your phone while you run the test (such as Email or MobileMe updates).

I've seen this cellular bandwidth limit of 4.5 mb per five minutes of activity sited elsewhere, too, though not in any formal Apple guidelines (such as their App Store Guidelines).



来源:https://stackoverflow.com/questions/14303760/apple-requirements-for-programmatic-download

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!