要将触摸从叠加视图传递到其下的视图,请在UIView中实现以下方法:目标C:- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event { NSLog(@"Passing all touches to the next view (if any), in the view stack."); return NO;}迅速:override func point(inside point: CGPoint, with event: UIEvent?) -> Bool { print("Passing all touches to the next view (if any), in the view stack.") return false}