UICollectionView didSelectItemAtIndexPath not called when tapped on UITextView

前端 未结 6 1607
傲寒
傲寒 2021-02-13 05:13

I have a UICollectionView with custom cells- They have a UITextView that mostly covers the entire cell. This presents a problem when using didSel

6条回答
  •  独厮守ぢ
    2021-02-13 05:51

    Select UITextView, in that specific case UICollectionViewCell, and switch to attribute inspector. The uncheck User interaction enabled and it should work fine.

提交回复
热议问题