Touches Ended not being called

前端 未结 7 1079
無奈伤痛
無奈伤痛 2021-01-17 09:53

I\'ve playing around with recognizing the touches in an iOS Application, and I have this simple code

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent         


        
7条回答
  •  生来不讨喜
    2021-01-17 10:35

    You'd have to set recognizer.cancelsTouchesInView = false in Swift or recognizer.cancelsTouchesInView = NO; in Objective-C

提交回复
热议问题