Is it possible for a UIWebView to save and autofill previously entered form values (e.g., username & password)?

From my looking I don’t think there is an easy way to do it. Here is an idea of what might work though:

  • create your uiwebview
  • create a nsurlrequest
  • after your webview delegate page loaded function fires look in the request’s http body
  • find the form for login (regex for common login forms?)
  • retrieve give the user the option to save it and then retrieve later

Leave a Comment