| Conforms to | |
| Framework | /System/Library/Frameworks/WebKit.framework |
| Availability | Available in Mac OS X v10.2 with Safari 1.0 and later. Available in Mac OS X v10.2.7 and later. |
| Companion guide | |
| Declared in | WebUIDelegate.h |
WebView user interface delegates that implement the webView:runOpenPanelForFileButtonWithResultListener: method use the methods defined in this protocol to communicate with the listener object. The methods allow the delegate to send a cancel message, or set the selected file name.
– chooseFilename: required method
– chooseFilenames: required method
– cancel required method
Invoked when a file open operation was cancelled. (required)
- (void)cancel
WebUIDelegate.hDisplays a file open panel and returns the selected filename. (required)
- (void)chooseFilename:(NSString *)fileName
The selected file name.
WebUIDelegate.hDisplays a file open panel and returns the multiple selected filenames. (required)
- (void)chooseFilenames:(NSArray *)fileNames
An array of selected file names.
WebUIDelegate.hLast updated: 2009-04-01