开发者

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

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜