2010-04-09 23 views

回答

0

你必須實現UIActionSheetDelegate協議。你正在尋找的方法是

- (void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex 

你必須檢查buttonIndex,然後你可以做任何你想要的。

相關問題