Suspend or ignore touch events

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];