这是意料之中的,但我似乎无法找到一个正常工作的运行时,因为它之前似乎是一个私有 API!!!!
目前我已经和 OS3.1.3 响应了 addGestureRecognizer 选择器!!!!
if ( [self.view respondsToSelector:@selector(addGestureRecognizer:)] ) {
UIGestureRecognizer *recognizer;
recognizer = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(morePress)];
[self.view addGestureRecognizer:recognizer];
recognizer.delegate = self;
[recognizer release];
}