pryomoax pryomoax - 1 month ago 9
iOS Question

Preventing multiple buttons from being touched at the same time

In iOS is there anyway to prevent a UIView containing multiple buttons (siblings) from being simultaneously from being touched? For instance, two non-overlapping buttons that are side by side can be tapped at the same time with two touches.

tc. tc.
Answer

Set UIView.exclusiveTouch.