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.exa开发者_JS百科mple.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!
精彩评论