Reputation: 1360
That's a very basic question.
How can I catch for example the "touchesBegan" event of a UIWindow instance? So that whenever the user is touching the window a method I set is called?
Thank you!
F.
Upvotes: 0
Views: 172
Reputation: 1360
Posting the tutorial that got my head around Gesture Recognisers: http://www.conceitedcode.com/2010/06/implementing-gesture-recognizers/
F.
Upvotes: 0
Reputation: 135558
For iOS 3.2+: Create a gesture recognizer and add it to the view you are interested in.
Upvotes: 1