IOS – saving password for springboard webapps

authenticationiosiphonepasswordspringboard

I'm using an html application with form authentication. If I open this application using Safari on iOS and complete the login screen, iOS asks me if I want to save my credentials.

but it doesn't work the same way if I add this webapp as a link on the springboard. In that case, iOS doesn't ask me to save my credentials.

Why iOS handle these 2 cases in a different way ?

Best Answer

It is handled differently because it is two different web engines powering the two.

When you use Safari you're using the newer Nitro-accelerated Javascript engine similar to the WKWebView, you can use in your own apps.

However, when you add the app to the home screen and open it in full screen, it won't be powered by the Nitro-accelerated Javascript engine, and will run in what is essentially the same as the UIWebView, that you can also use in your own apps.

Earlier Apple only allowed third party apps to use UIWebView, and not the newer Nitro-accelerated engine. The reason for the home screen links to be subject to this restriction is probably a leftover from that policy.

However, the reasoning behind why Apple choose to do it this way is impossible to say.