No way to configure UIDragDropSession.allowsMoveOperation & restrictedToDraggingApplication with UITableViewDragDelegate or UICollectionViewDragDelegate

Originator:an00na
Number:rdar://33158629 Date Originated:July 6 2017, 11:09 AM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.0 beta 2
Classification:Suggestion Reproducible:
 
Area:
UIKit

Summary:
UIDragDropSession.allowsMoveOperation & restrictedToDraggingApplication are "determined based on the UIDragInteraction's delegate's `-dragInteraction:sessionAllowsMoveOperation:` & `-dragInteraction:sessionIsRestrictedToDraggingApplication:`. There should be corresponding delegate methods in UITableViewDragDelegate & UICollectionViewDragDelegate to configure these properties. Otherwise it's impossible to implement copy-only operations or intra-app only drag-n-drop on UITableView or UICollectionView.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!