您能将UIGestureRecognizer附加到多个视图吗?
UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget: self action:@selector(tapTapTap:)];[self.view1 addGestureRecognizer:tapGesture]; [self.view2 addGestureRecognizer:tapGesture];[tapGesture release];
view2
view1
ibeautiful
翻阅古今
小唯快跑啊