开发者

Forcing iPhone WWAN interface to wake up when I try to connect to server

开发者 https://www.devze.com 2023-02-05 15:37 出处:网络
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 loadCon

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!

0

精彩评论

暂无评论...
验证码 换一张
取 消