swift 4.0 针对UIVIew设置透传 hitTest(_point:CGPoint, with event:UIEvent?) ->UIView? {
overridefunchitTest(_point:CGPoint,withevent:UIEvent?)->UIView?{lethitView=super.hitTest(point,with:event)print(point.y)//判断点击位置,如果是自己想点击的位置就将触摸事件传给自己,如果不是就将点击事件传给父视图ifpoint.y<0{returnnil}returnhitVie