Ponmalar
Ponmalar

Reputation: 7031

UIWebView Authentication Example

I am new to IOS application. I am creating one application with UIWebView in IOS. I have followed the tutorials

UIWebView Authentication 1/4

UIWebView Authentication 2/4

UIWebView Authentication 3/4

UIWebView Authentication 4/4

and referred many sites. But not getting clear idea.

Could you please give me the solution for the following question

  1. What is Authentication in UIWebView?
  2. Why I have to use Authentication?
  3. Please give me a proper simple example with Authentication.

Upvotes: 0

Views: 7132

Answers (1)

Krease
Krease

Reputation: 16215

If you visit a webpage in a regular browser (Safari, Firefox), and the webpage requires basic authentication, you'll get prompted for a username and password. For general web browsing, you don't need to worry about it unless you're trying to load a secure site.

How to display the Authentication Challenge in UIWebView? provides a good example of loading a UIWebView with a page that requires basic authentication.

If you are looking for information on other types of authentication, you will have to be more specific.

Upvotes: 1

Related Questions