iPhone Developer Tips Stats: Past 30 days - Pageviews: 88,766 Visitors: 61,679 Thank you everyone! Let's shoot for 100,000 by May. Pass it on...
|
There are times when you may need to temporarily stop receiving touch events. For example, when doing an animation or a screen transition rather than disable user enabled views (buttons, images, etc), you can tell the application to ignore user interaction events as shown below:
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];
Turning event interaction back on is as follows:
[[UIApplication sharedApplication] endIgnoringInteractionEvents];
Leave Comment