开发者

A question about UIEvent

开发者 https://www.devze.com 2023-03-17 05:00 出处:网络
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 thei

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

精彩评论

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