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,418
  • 1
  • 33
  • 66
Azhar
  • 19,874
  • 38
  • 137
  • 207

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,252
  • 3
  • 34
  • 67
0

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

ETech
  • 1,518
  • 15
  • 17