I need to do an automatic webservice reque开发者_Python百科st every second in my application to maintain my 3g connection. Anyone got any pointers on how to do this effectively?
Thanks!
Have a look at Run Loops.
The NSTimer
class should be able to do what you need. There are lots of other questions on SO about connecting to a web service so I won't answer that bit here.
精彩评论