Shake-Yama blog

Attention! For Japanese customers, my Japanese blog might help.

Jul 17, 2016

Disable drag & drop onto a WebView

You should implement webView:dragDestinationActionMaskForDraggingInfo: on the class, which is set to WebUIDelegate of a WebView.
To disable drag & drop, your should return WebDragDestinationActionNone in the method.

Reference: WebUIDelegate Protocol Reference
Posted by 鮭山 at 3:12 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Development, Mac, WebView
Newer Post Older Post Home

Blog Archive

  • ►  2018 (1)
    • ►  January (1)
  • ►  2017 (7)
    • ►  October (7)
  • ▼  2016 (15)
    • ►  September (1)
    • ►  August (4)
    • ▼  July (10)
      • Recognizing my own Audio Unit App Extension from 3...
      • How to handle non-interleaved audio data
      • AUSampler does not appear on AU Lab 2.3
      • AudioComponentInstanceNew() returns kAudioUnitErr_...
      • Get display names without using CGDisplayIOService...
      • I can't open .webarchive files made by my own app.
      • Write contents in a WebView as a .webarchive file.
      • Disable drag & drop onto a WebView
      • Disable executing JavaScript of a WebView
      • Reading MP3 files using ExtAudioFile functions
Ethereal theme. Powered by Blogger.