Contents

collectionView(_:previewForHighlightingContextMenuWithConfiguration:)

Returns a view to override the default preview the collection view created.

Declaration

optional func collectionView(_ collectionView: UICollectionView, previewForHighlightingContextMenuWithConfiguration configuration: UIContextMenuConfiguration) -> UITargetedPreview?

Parameters

  • collectionView:

    The collection view object requesting this information.

  • configuration:

    The configuration of the menu being highlighted.

Return Value

A targeted preview object describing the highlight preview.

See Also

Deprecated