开发者

Need to run the app when unlock the device

开发者 https://www.devze.com 2023-03-07 05:21 出处:网络
I\'m trying to do an app which runs when user unlock(Slide to unlock) their device.I don\'t know anything how to approach for this app.P开发者_开发技巧lease any one could help me?

I'm trying to do an app which runs when user unlock(Slide to unlock) their device. I don't know anything how to approach for this app. P开发者_开发技巧lease any one could help me?

Thank you so much!!


Without jailbreaking there is no official way to get this kind of behavior. The user has to launch the application to start the application. The best you can do is try to keep your application alive in the background by playing a silent sound (wastes battery) or setting a timeout which I believe Apple currently limits to 10 minutes.


The Answer to your question is really is. If you want your app on the AppStore, there's no way. On an iPhone the user always decides when an app runs. Sorry you can't these things.

Of course there are possibilites but you need to jailbreak your iPhone. And with this way, your application will not be accepted on the AppStore.

Sandro Meier


May be you should read App Store Review Guidelines and you will have your answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号