Customizing Drop Location View in UICollectionView Drag and Drop

Currently, this is how I implement the drag and move operation:

collectionView.beginInteractiveMovementForItem
collectionView.updateInteractiveMovementTargetPosition
collectionView.endInteractiveMovement

The outcome looks like the following:

However, what I would like to achieve is the ability to customize the view of the "drop" location.

For instance, in the following example, a red line is drawn at the target drop location:

In this example, a transparent rectangle is drawn at the target drop location:

May I know how these apps achieve such an effect?

Thanks.

Customizing Drop Location View in UICollectionView Drag and Drop
 
 
Q