我很难用UITextView
来禁用文本的 Select .
我试过:
canCancelContentTouches = YES;
我try 过子类化和覆盖:
- (BOOL)canPerformAction:(SEL)action withSender:(id)sender
(但只有在 Select 后才会调用)
- (BOOL)touchesShouldCancelInContentView:(UIView *)view;
(我一点也不觉得会被解雇)
- (BOOL)touchesShouldBegin:(NSSet *)touches
withEvent:(UIEvent *)event
inContentView:(UIView *)view;
(我也不认为会被解雇)
我错过了什么?