Reputation: 11502
Is there an API call I can call to wake up an iPhone's 3G / WiFi connection before connecting a socket to a remote server, short of doing something stupid like loading a webpage using [NSData loadContentsFromUrl:@"www.example.com"] to kick off the connection?
I know there's a flag for keeping a persistent WiFi connection, but it doesn't seem to apply to 3G. Thanks for the help!
Upvotes: 1
Views: 566