I need to do an app for my school to connect to the Wi-Fi Network. They开发者_开发问答 use a LEAP protocol and I just need to send a NSURLRequest to a PHP file.
The iPhone supports LEAP natively - your app doesn't have to do anything special to support it.
It's not the job of your app to connect to the wireless! If the iPhone supports LEAP authentication, you should just connect. If not, you're out of luck. You can't* alter the wifi settings of the iPhone from inside an application.
As for a NSURLRequest, you'd just use a normal NSURLConnection and let the iPhone do all the LEAP stuff behind the scenes for you.
*As far as I know, maybe jailbroken phones can do more.
精彩评论