• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Automatic fill in of logins in WebViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic fill in of logins in WebViews?


  • Subject: Re: Automatic fill in of logins in WebViews?
  • From: Paul Borokhov <email@hidden>
  • Date: Mon, 19 Feb 2007 14:16:30 -0800

Looks like it. If I'm reading the docs correctly, I'll need to:
- Create a new connection using NSURLConnection, which will look for valid credentials "in the shared NSURLCredentialStorage"
- Implement a connectionDidFinishLoading: in the delegate
- When connectionDidFinishLoading: is sent by the NSURLConnection, call loadData:MIMEType:textEncodingName:baseURL: on the main frame of the WebView
Am I on the right track here?
Paul

----------Original Message----------
  On 2/19/07 13:48 , Jerry Krinock (email@hidden) wrote:
> on 07/02/18 18:15, Paul Borokhov at email@hidden wrote:
>
>> Is there a way of automatically getting login forms inside WebViews
>> autofilled
>> with usersnames/passwords? For example, if in Safari I have a
>> password saved
>> for the page http://www.foo.com , and then I use a WebView in my
>> (Cocoa) app
>> to open the same page, how do I get the password to fill in automatically?
>> Or do I have to do this "manually" by having my application perform the
>> Keychain lookup/authorization and then filling in the fields myself?
>
> I would say, you've got to do it yourself.  Webkit renders HTML as views, it
> does not provide the bells and whistles you'd expect on a full-fledged web
> browser application.  That's what all those people developing web browsers
> get paid the Big Rubles to do.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Preventing beach balls
  • Next by Date: Re: Preventing beach balls
  • Previous by thread: Automatic fill in of logins in WebViews?
  • Next by thread: Re: Automatic fill in of logins in WebViews?
  • Index(es):
    • Date
    • Thread