摘要: 先在.h里面定义一个变量CGPoint startPoint;然后在.m里面加入下面两个方法:- (void)touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event{ //保存触摸起始点位置 CGPoint point=[[touch... 阅读全文
posted @ 2012-11-19 15:53 沙影无痕 阅读(187) 评论(0) 推荐(0)