How to call a method only once during -(void)touchesMoved?

后端 未结 4 777
心在旅途
心在旅途 2021-01-27 02:02

I am using - (void) touchesMoved to do stuff when ever I enter a specific frame, in this case the area of a button.

My problem is, I only w

4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-27 02:32

    try using a UIButton and use the 'touch drag enter' connection in Interface Builder.

提交回复
热议问题