Home > Software engineering >  Show UIMenu without UIButton or UINavigationButton
Show UIMenu without UIButton or UINavigationButton

Time:01-24

users. I'm having an issue that I can't seem to figure out. I want to show a UIMenu when I press a row in my UICollectionView, so I've added a UIButton that spands edge-to-edge in each cell. When the button is pressed, a UIMenu appears. The problem is that the UICollectionView is not scroll-able with a UIButton in each cell. The system prioritises the UIButton over scrolling. I'd love to just have a UILabel and a menu showing when 'didSelectItemAt indexPath' is called, but UIMenus only work with UIButton and UINavigationBarButton.

If someone has a solution for me, please help out! Thank you very much, kind regards

  •  Tags:  
  • Related