Is it possible to prevent iphone view from receive touch events? If yes, 开发者_如何转开发How?
Try:
yourView.userInteractionEnabled = NO;
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.
精彩评论