I managed to get the UICollectionView running with UIMenuController. In many cases it works perfectly and I get the context menu for the item I selected.
But in 20% of the cases the item selected and where the menus shows up are be different ...
Like this case: I clicked on the top left item but the popup comes down left.

When looking into indexPath it even shows section 1, item 0; wrongly as I pressed section 0, item 0; can happen with all item.
Any idea what can be wrong ?
But in 20% of the cases the item selected and where the menus shows up are be different ...
Like this case: I clicked on the top left item but the popup comes down left.

When looking into indexPath it even shows section 1, item 0; wrongly as I pressed section 0, item 0; can happen with all item.
Any idea what can be wrong ?
Last edited: