iOS的后台轮询没有位置服务 [英] iOS background polling without location services

查看:187
本文介绍了iOS的后台轮询没有位置服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我们都知道约了很多次的问题,似乎没有人有一个很好的答案。

this is a question we've all wondered about a number of times, and no one seems to have a good answer.

如何在后台定期像运行的DataMan应用程序,无限期,而且还进入了应用程序商店?

How do apps like DataMan run on a regular basis in the background, indefinitely, and still get into the app store?

该应用程序允许用户打开precise数据跟踪,并选择在该应用程序更新它的数据使用计数器零用户交互的频率 - 的间隔是每分钟一次,每10分钟一次,一次,每次20分钟。

The app allows a user to turn on "precise data tracking" and select a frequency at which the app updates it's data usage counters with zero user interaction - the intervals are once every minute, once every 10 minutes, and once every 20 minutes.

是的,我读过所有相关的<一个href=\"http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html#//apple_ref/doc/uid/TP40007072-CH4-SW3\">Apple背景资料处理,并成功实施了很多。我还<一href=\"http://stackoverflow.com/questions/4656214/iphone-backgrounding-to-poll-for-events/4808049#4808049\">explored插件和这个老帖子出局,但它是足够老现在很多已修补和记载的东西更好地工作反正那些环洞的。

Yes, I've read all the associated Apple Documentation on background processes and implemented many of them successfully. I've also explored the ins and outs of this old post, but it's old enough now that many of those "loop holes" have been patched and the documented stuff works better anyway.

虽然我已经与我的注册应用程序作为一个VOIP应用,并要求有很大的运气保持活跃在一定的时间间隔,它不是应用程式商店,OK,除非它是一个VOIP应用程序(的DataMan不算)。此外,报考VOIP保持有效指示实际上并没有表现出相同的行为的DataMan ... VOIP保活来电来人在稍微随机间隔,或者至少在频率选择,而不同步到时钟时间。实际的DataMan符合瀑布配有时钟规定的时间间隔,并更新其数据计数器在:10:20:30分钟标记处等

While I've had great luck with registering my app as a VOIP app and requesting a keep-alive at certain intervals, it's not app-store-ok unless it's a VOIP app (DataMan isn't). Furthermore, registering for VOIP keep-alives doesn't actually exhibit the same behavior as DataMan...VOIP keep-alive calls come at somewhat-random intervals, or at least at the frequency you select without syncing up to clock time. DataMan actually falls in line with clock-mandated intervals and updates its data counters at the :10, :20, :30 minute marks, etc.

任何想法?

推荐答案

根据他们的支持网站,自己的亲版本刚刚被苹果拉动。我敢打赌,他们的其他版本是下一个。

According to their support site, their pro version just got pulled by apple. I would bet that their other versions are next.

仅仅因为你设法偷偷东西过去审查小组并不意味着他们不会赶场,或者其他人会成功。他们在做什么显然是针对苹果的准则,如果他们是不是也提供经批准的后台服务之一。

Just because you manage to sneak something past the review team doesn't mean they won't catch it later, or that other people will succeed. What they're doing is clearly against Apple's guidelines if they are not also offering one of the approved background services.

这篇关于iOS的后台轮询没有位置服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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