Instance Method

cancelInteractiveMovement

Ends interactive movement tracking and returns the target item to its original location.

Declaration

- (void)cancelInteractiveMovement;

Discussion

Call this method to cancel movement tracking and return the item to its original location. For example, when using a gesture recognizer to track interactions, call this method when the gesture is cancelled. Calling this method lets the collection view know to end the tracking process and return the item to its original location.

See Also

Reordering Items Interactively

- beginInteractiveMovementForItemAtIndexPath:

Initiates the interactive movement of the item at the specified index path.

- updateInteractiveMovementTargetPosition:

Updates the position of the item within the collection view’s bounds.

- endInteractiveMovement

Ends interactive movement tracking and moves the target item to its new location.