• 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: WebView and file uploading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebView and file uploading


  • Subject: Re: WebView and file uploading
  • From: glenn andreas <email@hidden>
  • Date: Mon, 29 Aug 2005 13:56:42 -0500


On Aug 29, 2005, at 12:28 PM, August Trometer wrote:

I'm trying to use a WebView to let the user upload a file to a remote server. Now in a regular browser, everything works fine and when I choose the "Select File" button in the form, a handy Open File panel pops down. Perfect.

However, in my app, that button does nothing using the same HTML. How do I make sure the user can select a file using the WebView?


Set the WebView's UIDelegate and implement:

- (void)webView:(WebView *)sender runOpenPanelForFileButtonWithResultListener: (id<WebOpenPanelResultListener>)resultListener;




Glenn Andreas email@hidden <http://www.gandreas.com/> wicked fun! Widgetarium | the quickest path to widgets

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >WebView and file uploading (From: August Trometer <email@hidden>)

  • Prev by Date: Re: NSTextField doesn't work as it does in Mail or most apps?
  • Next by Date: Spotlight importer and document package question
  • Previous by thread: WebView and file uploading
  • Next by thread: NSTextField doesn't work as it does in Mail or most apps?
  • Index(es):
    • Date
    • Thread