使用UIKit时,我在UIView或UIViewController中进行处理。
func touchesBegan(_ touches:设置,事件:UIEvent?)
如何使用SwiftUI处理触摸事件?
ios swiftui
ios ×1
swiftui ×1