authorization - iPhone NSURLConnection pop-up for entering user/password requested? -
i observed in hotel when other apps trying access internet pop-up appears ask iphone user enter user id , password of hotel's wireless lan. guess kind of redirect on requests protect misuse of wlan.
i have app , use nsurlconnection not getting pop-up instead goes via regular data network of carrier. removed sim see happens , connection fails error "the internet connection appears offline".
i wonder whether because nsurlconnection not provide such pop-up , other apps (e.g. safari, e.g. whatsapp) use different api. 1 other hand thought might documentation says "authorization challenge". have implemented delegate methods not called.
if experience on can me.
search documentation uirequirespersistentwifi info.plist key - there tradeoffs (users alert every time open application if phone in airplane mode - doesn't seem way turn off) should force make connection.
Comments
Post a Comment