摘要: view的响应事件传递 在superView里面用 hitTest(_ point: CGPoint, with event: UIEvent?) 方法,找出事件响应区域内的point 传递给subVIew即可 public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { va... 阅读全文
posted @ 2018-09-01 18:14 Qiang zi 阅读(284) 评论(0) 推荐(0) 编辑