0

i am opening a remote Website in UIWebview that shows a popup in Safari Mobile for entering user credentials. In UIWebView the popup doesn't appear.

Can anybody tell me if there is a way to enable popups?

Steve
  • 30,306
  • 19
  • 97
  • 123
Martin
  • 762
  • 2
  • 8
  • 24

1 Answers1

0

This sounds like a problem similar to one I had - UIWebView does not prompt for basic authentication. The way around it is to create a separate NSURLConnection with a delegate that handles authentication challenges. After receiving a response, you can then load the original request in the UIWebView.

How to display the Authentication Challenge in UIWebView? provides some code you can start with for that.

Community
  • 1
  • 1
Krease
  • 15,296
  • 8
  • 50
  • 85