I want to create an iOS app with a feature that - user can store username and password for particular website, and when the go to that website credentials will automatically typed in the webview and it will submitted automatically.
The concept is implemeted in the app - <a href="https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CDYQFjAD&url=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fdashlane-password-manager%2Fid517914548%3Fmt%3D8&ei=TpLWU4fQBIim8AXKkoD4Cg&usg=AFQjCNHxhqFoHy5hKh34pg__rcLCKOvaBw&sig2=O5Ztt46aR71H5nlozWHiPA&bvm=bv.71778758,d.dGc" rel="nofollow">Dashlane</a>
Say there is a website with url - <a href="http://www.quickeeme.com" rel="nofollow">http://www.quickeeme.com</a> and my username is "hamdaman" and password is "123456". How can I load this url in a Webview with autofill this credentials on the fields ?Answer1:
Here is some code I used in the past that allowed me to enter user credentials and click a login button. You'll need to change
btnLogin to the appropriate variables on the webpage you're using (you can find them using "View Source" in Chrome, for example):