【转摘】iphone 左右上下划动屏幕切换图片显示
原文摘自:http://www.cocoachina.com/blog/blog.php?do=bbs&uid=1628&page=8
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ CGFloat PointX = fabsf(FirstPoint.x - SecondPoint.x); if(touchMove == NO)
原文摘自:http://www.cocoachina.com/blog/blog.php?do=bbs&uid=1628&page=8
- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ CGFloat PointX = fabsf(FirstPoint.x - SecondPoint.x); if(touchMove == NO)