yossi
yossi

Reputation: 1

touchesBegan at the ViewController

Is it possible to know which of the several controls contained in my ViewController's main view is affected by the present touch event?

Upvotes: 0

Views: 427

Answers (1)

Corey Floyd
Corey Floyd

Reputation: 25969

Compare the location of the touch to the frames of each of the subviews

Upvotes: 1

Related Questions