pan拖动手势 - (void)viewDidLoad { [super viewDidLoad]; [self Pan]; // Do any additional setup after loading the view, typically from a nib. } #pragma mark -拖动手势Pan -(void)Pan{ UIView *view=[[UIView alloc] initWithFrame:CGRectMake(, , , )]; view.backgroun
UIGestureRecognizerState -- 手势识别器状态 1.先来看官方文档 定义UIGestureRecognizer.h 英文: typedef NS_ENUM(NSInteger, UIGestureRecognizerState) { UIGestureRecognizerStatePossible, // the recognizer has not yet recognized its gesture, but may be evaluating touch event