2011-05-18 62 views
0

我正在开发一个简单的游戏照片拼图。我有9张图片。图像部分放置在不同的UIView上。现在我想知道如何在触摸屏上移动uview部件?如何使uiview可移动?

谢谢...

回答

2

检查this 你需要处理

- (void) touchesBegan:(NSSet*)touches withEvent:(UIEvent*)event {} 

- (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event {} 

事件