UITapGestureRecognizer not works iOS swift
Solution:
let tapGesture = UITapGestureRecognizer(target: self, action: #selector(gestureTap(_:)))
tapGesture.numberOfTapsReq
cell.img.addGestu
If you added two recognizer methods to a imageview then only one tapgesture will works.
So must add only one tapgesture to a view.Then only it will works.
Comments
Post a Comment