Drag and drop from webview to finder (Dropped path)

Discussion in 'Mac Programming' started by Nishadkumar, Jun 29, 2012.

  1. macrumors newbie

    Jun 29, 2012

    The application I am working need to support drag and drop file from webview to finder. Using WebUIDelegate I am able to get the dragged file related info. I have gone through drag and drop programming guide but I couldnot find a way to get file dropped path.

    Since mouseDown and mouseDragged is not supporting webview (even though webview is NSView) I am not able to use

    namesOfPromisedFilesDroppedAtDestination: and dragPromisedFilesOfTypes:fromRect:source:slideBack:event:. methods to achieve same. Can some help me to get implement drag and drop file from webview to finder or give idea how to get dropped path.

    Thanks & Regards,

Share This Page