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(
}
我不能讓一個選擇器視圖內的觸摸的位置。有沒有辦法做到這一點?