ios - Present wi-fi connection view within app -



ios - Present wi-fi connection view within app -

according this post, using "application uses wi-fi" plist key ought create wi-fi connection view appear when app starts , device not connected wi-fi, tried implementing that, , didn't work. have seek using reachability code nail webpage in order popup appear?

according this other reply on stackoverflow:

based on documentation, setting flag makes sure device attempts open wi-fi connection. i'm not sure guarantee networking occur on wi-fi.

there's class out there apple called reachability. https://developer.apple.com/library/ios/samplecode/reachability/introduction/intro.html

there's reachability class in afnetworking 2 https://github.com/afnetworking/afnetworking

i set uirequirespersistentwifi flag yes , check reachability class there wi-fi connection available. if not, show error.

ios objective-c

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -