0
我開發一個應用程序中,我有當用戶在通訊錄中點擊它旋轉一個刪除按鈕如下如何再檢查一下按鈕
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:.5];
btn.transform=CGAffineTransformMakeRotation((0.0174532925)*90);
//put the -ve sign before 30 if you want to rotate the button in the anticlockwise else use this one
[UIView commitAnimations];
selectedRow=btn.tag;
[self.tableView reloadData];
我要重新加載表時,動畫完成後如何轉我可以這樣做嗎?