Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift 5 touchupinsideview

let clickGesture = UITapGestureRecognizer(target: self, action:  #selector(self.onUiViewClick))
uiView.addGestureRecognizer(clickGesture)

 @objc func onUiViewClick(sender : UITapGestureRecognizer) {

    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #touchupinsideview
ADD COMMENT
Topic
Name
5+5 =