2011-05-18 73 views
0

我正在開發一個簡單的遊戲照片拼圖。我有9張圖片。圖像部分放置在不同的UIView上。現在我想知道如何在觸摸屏上移動uview部件?如何使uiview可移動?

謝謝...

回答

2

檢查this 你需要處理

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

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

事件