Most UIWebview functions are implemented in the undocumented UIWebBrowserView class. This is a view that has its “interaction” property, and the delegate for these interactions is set to the same UIWebBrowserView.
There are 3 options for detecting a fall, depending on your needs:
1) javascript -, . :
document.addEventListener('drop', function() {
} ) ;
2) UIWebBrowserView. , . :
webView.scrollView.subviews[0].interactions = @[] ;
, :
UIDropInteraction *dropInteration = [[UIDropInteraction alloc]initWithDelegate:myController] ;
[webView addInteraction:dropInteration] ;
webView.userInteractionEnabled = YES ;
UIDropInteractionDelegate 'myController'
3) swizle UIWebBrowserView UIDropInteractionDelegate .