当我有这行代码时
UILongPressGestureRecognizer *downwardGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(dragGestureChanged:)];
并且这个
- (void)dragGestureChanged:(UILongPressGestureRecognizer*)gesture{
...
}
我想在"@selector(dragGestureChanged:)"中添加一个参数"(UIScrollView*)scrollView",应该怎么做?
someObject
,以及如何使用someObject
? - jerik