鼠标移动UIview 位置随着鼠标改变 @interface TestView(){ //开始触摸这个点 CGPoint _startPoint; }@end//当你开始触摸的时候,到这看看.//一次出没时间发生时,该方法只执行一次.-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ //取出手指触碰 UI 2023-09-25 119 点赞 1 评论 180 浏览