How to delete line separator for ContextMenu of UICollectionView?

Viewed 132

I am implementing context menu for UICollectionView using the following function:

fun collectionView( _collectionView: UICollectionView, contextMenuConfigurationForItemAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration?

All work well I had a menu which wants, but I don't know how to delete the line separator between the list of options. It's is possible?

This is a link to an image that describes the menu with a line separator I need to delete the line separator:

Screenshot of Context Menu

0 Answers
Related