How to write a background service in iphone application?
I want to write a background service in iphone which will send and receive UDP messages from a live server. after having search on google I am not able开发者_如何学Go to write code from background service. ?
like as we can extends Service
in Android ..
I could not find any link which could help me in writing code for service.
any tutorial or link for background service
Sorry it looks like:
"iPhone OS doesn't allow you to add background processes."
via:
How to implement Daemon process for background task in iphone sdk 3.0?
Just post a notification from selector, running in Background. Then, catch the notification and perform selector again.
精彩评论