ibireme 9 жил өмнө
parent
commit
453b96ee38
1 өөрчлөгдсөн 0 нэмэгдсэн , 8 устгасан
  1. 0 8
      YYText/YYTextView.m

+ 0 - 8
YYText/YYTextView.m

@@ -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;