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.

Beta Software

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