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
  • 31,144
  • 19
  • 99
  • 122
Martin
  • 790
  • 2
  • 9
  • 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,805
  • 8
  • 54
  • 86