「[subview touchesBegan:touches withEvent:event];」という行で EXC_BAD_ACCESS を取得します。その行を削除すると、すべてがうまくいきます。私は間違って何をしていますか?
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
for(UIView *subview in [self.view subviews]) {
NSLog(@"%@", subview);
NSLog(@"%@", touches);
NSLog(@"%@", event);
[subview touchesBegan:touches withEvent:event];
}
}