Phonegap background service on iOS4?

后端 未结 3 2032
萌比男神i
萌比男神i 2020-12-10 21:29

Can I get a phonegap application running on iOS 4 to have a background service when it\'s not the active app (e.g. check a url every hour and alert the user if there have be

3条回答
  •  温柔的废话
    2020-12-10 21:54

    Yes, you can do that, but Apple will probably disallow it. Background running is bound to VERY specific rules. For this kind of stuff Apple invented Push Notifications (from server).

    You can read the developer documentation about that.

提交回复
热议问题