Tuesday, December 2, 2008

Wifi related

If your application requires a wifi connection, add the UIRequiresPersistentWiFi key to Info.plist and set it True, it will display the wifi connection dialog if not connected.

To determine whether the currently active network connection is Wi-Fi or the carrier's network use the constant kSCNetworkReachabilityFlagsIsWWAN defined in SystemConfiguration/SCNetworkReachability.h . Look for the Reachability sample code.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home