views:

28

answers:

2

Is it possible to prevent iphone view from receive touch events? If yes, How?

+2  A: 

Try:

yourView.userInteractionEnabled = NO;
Vladimir
A: 

You can also try calling

[[UIApplication sharedApplication] beginIgnoringInteractionEvents];

to tell your application to ignore touch-related events and

[[UIApplication sharedApplication] endIgnoringInteractionEvents];

to stop ignoring touch-related events.