Reputation: 20670
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 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
Upvotes: 2
Views: 2100
Reputation: 1607
Just post a notification from selector, running in Background. Then, catch the notification and perform selector again.
Upvotes: 0
Reputation: 3296
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?
Upvotes: 1