2

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

Black Frog
  • 11,595
  • 1
  • 35
  • 66
Azhar
  • 20,500
  • 38
  • 146
  • 211

2 Answers2

1

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?

Community
  • 1
  • 1
Jeffrey Kevin Pry
  • 3,266
  • 3
  • 35
  • 67
0

Just post a notification from selector, running in Background. Then, catch the notification and perform selector again.

ETech
  • 1,613
  • 16
  • 17