Apple对程序化下载的要求 [英] Apple requirements for programmatic download

查看:154
本文介绍了Apple对程序化下载的要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程式正在从网路下载资料,例如JSON,图片,e.t.安装时数据量应大于50mb。

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.

对于使用3G连接的用户来说,这将是昂贵的。我想我的应用程序需要找出什么是互联网连接的类型,我被告知,苹果有自己的下载要求,但我找不到任何有用的信息,从互联网。

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?

推荐答案

我假设你的其他问题,你发现 Reachability ,您可以从中确定如何连接到互联网。

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

在回答你的其他问题,是的,据报道,苹果不鼓励通过蜂窝连接下载太多数据的应用程序。在mobileorchard.com上避免iPhone应用拒绝,他们建议: / p>

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:


如果您的应用程序通过蜂窝网络下载数据,请确保不要占用太多带宽。多少钱太多了?嗯,没有确切的数字,但苹果的技术支持人员建议我不超过4.5兆的数据每5分钟的活动。您可以通过进入iPhone设置,选择常规 - >使用菜单并清除统计信息来测试应用的使用情况。然后运行您的应用程序5分钟,返回此屏幕,看看统计数据说。此外,要获取最准确的数字,您应在运行测试时关闭手机上的任何其他网络活动(例如电子邮件或MobileMe更新)。

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).

我已经看到在其他地方的每五分钟活动的这种蜂窝带宽限制为4.5 mb,虽然没有在任何正式的苹果指南(如他们的 App Store准则)。

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).

这篇关于Apple对程序化下载的要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆