|
@@ -1978,7 +1978,6 @@ typedef NS_ENUM(NSUInteger, YYTextMoveDirection) {
|
|
|
_placeHolderView.hidden = YES;
|
|
|
|
|
|
_containerView = [YYTextContainerView new];
|
|
|
- _containerView.userInteractionEnabled = NO;
|
|
|
_containerView.hostView = self;
|
|
|
|
|
|
_selectionView = [YYTextSelectionView new];
|
|
@@ -2476,13 +2475,6 @@ typedef NS_ENUM(NSUInteger, YYTextMoveDirection) {
|
|
|
|
|
|
#pragma mark - Override UIResponder
|
|
|
|
|
|
-- (UIView *)hitTest:(CGPoint)point withEvent:(nullable UIEvent *)event {
|
|
|
- UIView *view = nil;
|
|
|
-
|
|
|
- view = [super hitTest:point withEvent:event];
|
|
|
- return view;
|
|
|
-}
|
|
|
-
|
|
|
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
|
|
|
[self _updateIfNeeded];
|
|
|
UITouch *touch = touches.anyObject;
|