Reputation: 7031
I am new to IOS application. I am creating one application with UIWebView in IOS. I have followed the tutorials
and referred many sites. But not getting clear idea.
Could you please give me the solution for the following question
- What is Authentication in UIWebView?
- Why I have to use Authentication?
- Please give me a proper simple example with Authentication.
Upvotes: 0
Views: 7132
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