// 记录了触摸事件产生或变化时的时间,单位是秒 The relative time at which the acceleration event occurred(read-only)@property(nonatomic,readonly) NSTimeInterval timestamp;// 当前触摸事件所处的状态@property(nonatomic,readonly) UITouchPhase phase;// touch down within a certain point within a certain amount of timen 短时间内点按屏幕的次数,可以根据tapCount判断单击、双击或更多的点击@property(nonatomic,readonly) NSUInteger tapCount;@property(nonatomic,readonly) UITouchType type NS_AVAILABLE_IOS(9_0);// 触摸产生时所处的窗口@property(nullable,nonatomic,readonly, strong) UIWindow *window;// 触摸产生时所处的视图@property(nullable,nonatomic,readonly, strong) UIView *view;// The gesture-recognizer objects currently attached to the view.@property(nullable,nonatomic,readonly,copy) NSArray <UIGestureRecognizer *>*gestureRecognizers
-(nullable NSSet <UITouch *>*)allTouches;-(nullable NSSet <UITouch *>*)touchesForWindow:(UIWindow *)window;-(nullable NSSet <UITouch *>*)touchesForView:(UIView *)view;-(nullable NSSet <UITouch *>*)touchesForGestureRecognizer:(UIGestureRecognizer *)gesture NS_AVAILABLE_IOS(3_2);// An array of auxiliary UITouch’s for the touch events that did not get delivered for a given main touch. This also includes an auxiliary version of the main touch itself.-(nullable NSArray <UITouch *>*)coalescedTouchesForTouch:(UITouch *)touch NS_AVAILABLE_IOS(9_0);// An array of auxiliary UITouch’s for touch events that are predicted to occur for a given main touch. These predictions may not exactly match the real behavior of the touch as it moves, so they should be interpreted as an estimate.-(nullable NSArray <UITouch *>*)predictedTouchesForTouch:(UITouch *)touch NS_AVAILABLE_IOS(9_0);