skip to Main Content

Manually invoke context menu in collectionView for cell – Ios swift

I implemented methods for context menu with delegate methods like this: func collectionView(_ collectionView: UICollectionView, contextMenuConfigurationForItemAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration? { configureContextMenu(index: indexPath.row) } func configureContextMenu(index: Int) -> UIContextMenuConfiguration { let context = UIContextMenuConfiguration(identifier: nil, previewProvider: nil) {…

VIEW QUESTION
Back To Top
Search