UI手势事件
2016-02-06 14:38
465 查看
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"开始触摸");
}
- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"正在触摸");
}
- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"结束触摸");
}
- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"触摸取消");
}
NSLog(@"开始触摸");
}
- (void)touchesMoved:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"正在触摸");
}
- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"结束触摸");
}
- (void)touchesCancelled:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"触摸取消");
}
相关文章推荐
- 【Android】4.1 UI设计器
- Android开发学习之路--UI之基本布局
- Android开发学习之路--UI之基本布局
- New HTML Message Builder class
- DJANGO的requirements的运用
- easyui常用知识
- Sum up - Java Thread Interview Questions (Updating)
- UITableViewCell上左滑删除
- N-Queens 题解
- N-Queens II 经典问题:8皇后问题 题解
- 自定义可以响应事件的控件(继承自UIControl)
- Circuit Breaker Pattern(断路器模式)
- hdoj1423Greatest Common Increasing Subsequence【LCIS】
- Android关闭所有系统的UI控件
- 【HDOJ】3686 Traffic Real Time Query System
- junit4X系列--Builder、Request与JUnitCore
- junit4X系列--Builder、Request与JUnitCore
- GPU的deviceQuery 和 Nvidia-smi的使用
- HDU 1005.Number Sequence【用递归会超时】(2.5)
- 运行MIT-GNU Scheme出现“Requested allocation is too large”