How do I get the coordinates for finger tapping in UIView?

前端 未结 5 729
-上瘾入骨i
-上瘾入骨i 2020-12-19 05:31

How do I get the coordinates for finger tapping in UIView? (I would prefer not to use a big array of buttons)

Thank you

5条回答
  •  情歌与酒
    2020-12-19 06:02

    I assume you mean recognizing gestures (and touches). The best place to start looking for such a broad question is Apple's sample code Touches. It walks through a good amount of information.

提交回复
热议问题