Correct way to poll server in background
问题 Assuming this is possible, I would like my iOS application, when backgrounded, to poll a server (i.e. essentially, retrieve the contents of a URL every 30 minutes and notify the user if it contains something "interesting"), essentially in a similar way to the way the built-in mail client assumedly works if you're not using push notifications. Now, from my reading so far (I'm an experienced programmer, but new to iOS), I think there may be two potential ways to do this: Method 1: In