怪我咯2017-04-18 09:18:02
(void)touchesBegan:(NSSet<UITouch > )touches withEvent:(UIEvent *)event{
}
-(void)touchesEnded:(NSSet<UITouch > )touches withEvent:(UIEvent *)event {
}
-(void)touchesMoved:(NSSet<UITouch > )touches withEvent:(UIEvent *)event {
}
これが質問者が言っているのかどうかはわかりません
高洛峰2017-04-18 09:18:02
Swiftの書き方
グローバルの場合はAppDelegate.swiftに追加
特定のビューの場合は対応するViewController.swiftに追加