В вашем подклассе UITextView
сделайте следующее:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
[self.nextResponder touchesBegan:touches withEvent:event];
}
Если вы хотите, чтобы UITextView
тоже обрабатывал прикосновения, то, я думаю, вы можете сделать это:
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
[self.nextResponder touchesBegan:touches withEvent:event];
[super touchesBegan:touches withEvent:event];
}
но это может привести к очень странному поведению.