1
我用下面的代碼來檢測對象的touchesBegan不會被觸發
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
NSArray *allTouches = [touches allObjects];
for (UITouch *touch in allTouches)
{
NSLog(@"TOUCH DETECT");
}
}
上的觸摸,但它不會被觸發
歡迎任何評論