Initiates the interactive movement of the item at the specified index path.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The index path of the item you want to move.
true if it is possible to move the item or
false if the item is not allowed to move.
Call this method when you want to begin the interactive movement of an item from its current location to a new location within the same collection view. When using a gesture recognizer to track movements of the item, call this method from your handler method when the gesture recognition process begins. When interactions with the item end, you must call either the
cancel method to inform the collection view of that fact.
When you call this method, the collection view consults its delegate to make sure the item can be moved. If the data source does not support the movement of the item, this method returns