touchesBegan中的touch点获取
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
let touch:UITouch = ((touches as NSSet).anyObject()! )as!UITouch
let point = touch.location(in: self)
}
touchesBegan中的touch点获取
override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
let touch:UITouch = ((touches as NSSet).anyObject()! )as!UITouch
let point = touch.location(in: self)
}