0
我,当我尝试使用下面的代码行:触摸位置
override func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
for touch in touches {
let tap = touch as UITouch
let location = tap.locationInView(self.view)
print(location(
}
我不能让一个选择器视图内的触摸的位置。有没有办法做到这一点?