What's the trick to pass an event to the next responder in the responder chain?

前端 未结 8 990
悲&欢浪女
悲&欢浪女 2020-12-05 14:44

Apple is really funny. I mean, they say that this works:

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
    UITouch* touch = [touches any         


        
8条回答
  •  北海茫月
    2020-12-05 15:43

    I know this post is old but i thought id share because I had a similar experience. I fixed it by setting the userInteractionEnabled to NO for the view of the view controller that was automatically created.

提交回复
热议问题