0

enter image description here

B: Transparent View with alpha 0.1 and attached Gesture recognizer, that will dismiss the view

bView.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(dismisClicked(_:))))

C: UIView

D: Collection View Cells

iOS 14 work normal

iOS 15 {B}'s TabGesture override collection view touches and scroll

Salar Pro
  • 43
  • 5
  • What is your question? ¿Cuál es tu pregunta? – El Tomato Oct 13 '21 at 10:04
  • i can't interact with collectionView. If i remove the {B}'s TabGesture, i cant interact with collectionView, but i need someway to dismiss the view when touching outside the collectionView – Salar Pro Oct 13 '21 at 12:48

0 Answers0