Your proposed solution for handling a drop in a collection view.
- iOS 11.0+
- Mac Catalyst 13.0+Beta
Create instances of this class in the
collectionView(_:dropSessionDidUpdate:withDestinationIndexPath:) method of your drop delegate object. You create drop proposals to let the collection view know how you intend to handle a drop at the currently specified location. The collection view uses that information to provide appropriate visual feedback to the user.
Getting the Proposed Drop Location
Operation types that determine how a drag and drop activity resolves when the user drops a drag item.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software