Preventing multiple buttons from being touched at the same time

pryomoax picture pryomoax · Aug 13, 2010 · Viewed 14.1k times · Source

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.

Answer

tc. picture tc. · Aug 13, 2010

Set UIView.exclusiveTouch.