狗尾草

导航

2014年1月15日 #

(ios) 屏幕触摸总结

摘要: 1 屏幕触控实现(单击 双击) [self becomeFirstResponder]; //允许多点互动 self.view.multipleTouchEnabled=TRUE;实现事件部分#pragma mark-#pragma mark touch - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ //触摸开始 }- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event{ //移动 }- (vo... 阅读全文

posted @ 2014-01-15 19:28 狗尾草-大数据收割基 阅读(3512) 评论(0) 推荐(1) 编辑