开发者

A question about UIEvent

My question is is it possible to tell from an UIEvent object whether it is a tap touch or a sweep touch ? Have checked the documentation, UIEvent has type and subtype prope开发者_JAVA百科rties. But their possible values seem to only differentiate between tap and device motion. The subtype values also seem to only indicate motion subtypes.

Wish to tell the difference between a single tap and a sweep tap. Hope that somebody could help ...


You can use GestureRecognizer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜