1.

 -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event {
[[self nextResponder] touchesBegan:touches withEvent:event];
[super touchesBegan:touches withEvent:event];
}
-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {
[[self nextResponder] touchesMoved:touches withEvent:event];
[super touchesMoved:touches withEvent:event];
}
-(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {
[[self nextResponder] touchesEnded:touches withEvent:event];
[super touchesEnded:touches withEvent:event];
} 2.hittest
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
UIView *hitView = [super hitTest:point withEvent:event];
if (hitView == self)
{
return nil;
}
else
{
return hitView;
} }

http://blog.csdn.net/reylen/article/details/45093037

最新文章

  1. MySQL 主从复制与读写分离概念及架构分析
  2. [WPF系列]基础学习(一) WPF是什么?
  3. 4. Prototype(原型)
  4. C# 字典 Dictionary 转 JSON 格式遍历
  5. TCMalloc 对MYSQL 性能 优化的分析
  6. ES pom配置
  7. ios app 实现热更新(无需发新版本实现app添加新功能)
  8. python读写操作文件
  9. [译]ASP.NET 性能监控
  10. struts2 if正确标签示例
  11. ajax实际的应用
  12. Redis系列-存储篇list主要操作函数小结
  13. jQuery获取和设置disabled属性、背景图片路径
  14. Find Minimum in Rotated Sorted Array——LeetCode
  15. java大数 斐波那契数列
  16. .net操作IIS,新建网站,新建应用程序池,设置应用程序池版本,设置网站和应用程序池的关联
  17. windows编程学习笔记(三)ListBox的使用方法
  18. 何凯文每日一句打卡||DAY6
  19. .AVLFile Extension
  20. jquery datatables api

热门文章

  1. webpack 打包
  2. 作业六:分析Linux内核创建一个新进程的过程
  3. 20135323符运锦----第三周:构建一个简单的Linux系统MenuOS
  4. python 安装多个包/pip用法
  5. windows 64bit 服务器下安装32位oracle database 11g 问题集
  6. Mac用户抓包软件Charles 4.0 破解 以及 抓取Https链接设置
  7. 课堂Beta发布
  8. PAT 甲级 1021 Deepest Root
  9. [转贴] VIM 常用快捷键 --一直记不住
  10. NESTED最终与外部事务合并在一起提交