swift UITapGestureRecognizer获取点击事件点击的位置point

func picTap(sender: UITapGestureRecognizer) {        
        let point = sender.location(in: sender.view)
}

其中获取的point为相对于sender.view的位置

备份:http://www.jianshu.com/p/9de24415dce1

原文地址:https://www.cnblogs.com/kunH/p/7263758.html