Stanley
Stanley

Reputation: 4486

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 properties. 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 ...

Upvotes: 1

Views: 189

Answers (1)

Rahul Vyas
Rahul Vyas

Reputation: 28720

You can use GestureRecognizer.

Upvotes: 1

Related Questions