How to make a superview intercept button touch events?

前端 未结 5 1884
盖世英雄少女心
盖世英雄少女心 2020-11-30 12:17

Say I have this code:

#import 

@interface MyView : UIView
@end
@implementation MyView

- (void)touchesMoved:(NSSet *)touches withEvent:         


        
5条回答
  •  误落风尘
    2020-11-30 12:35

    Thanks for the suggestions and informative replies. I ended up just using the explanation shown on this page: (under "Trick 1: Emulating Photos app swiping/zooming/scrolling with a single UIScrollView").

提交回复
热议问题