iOS daemons. are they legal for AppStore?

你。 提交于 2019-12-08 04:24:11

问题


Can't find out if daemon application can be run on non-jailbroken iPhone. And what is Apple policy about this stuff? I don't really know if my idea is possible at all... I wonder if it's possible to create such a daemon that can intercept outcoming user call and play custom tone signal while remote user does not answer our call. Almost all cell-operators provides a service of custom call tones which means you can listen to some music while waiting for response... This drives me wild.


回答1:


Plain and simple: It's not allowed.

Taken from the official App Store Review Guidelines

2.8 Apps that install or launch other executable code will be rejected




回答2:


Apple allows only a limited set of background tasks. They are:

  • Background audio
  • Voice over IP
  • Background location
  • Push notifications
  • Local notifications
  • Task finishing

More details can be found in the iOS developer site. Note, also, that they won't work on an iPhone 3G.

Per your update:

I wonder if it's possible to create such a daemon that can intercept outcoming user call and play custom tone signal while remote user does not answer our call.

No, it's not. Apps cannot interact with calls in any way. Incoming and outgoing calls suspend execution of all other apps.




回答3:


No; Apple doesn't allow daemon processes. Since iOS 4, it allows apps to go into the background when you push the home button, but that's really just a form off application switching. The app can't do very much while in the background.



来源:https://stackoverflow.com/questions/4014899/ios-daemons-are-they-legal-for-appstore

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