Wednesday, May 22, 2013

beginIgnoringInteractionEvents example UIApplication ios


[UIApplication beginIgnoringInteractionEvents]

Tells the receiver to suspend the handling of touch-related events.
- (void)beginIgnoringInteractionEvents
Discussion of [UIApplication beginIgnoringInteractionEvents]
You typically call this method before starting an animation or transition. Calls are nested with the  endIgnoringInteractionEvents method.
Example of [UIApplication beginIgnoringInteractionEvents]
[[UIApplication sharedApplication] beginIgnoringInteractionEvents];

[[UIApplication sharedApplication] endIgnoringInteractionEvents];