2009-10-11 52 views
12

我有一個要求,我顯示actionSheet,但如果用戶不選擇其中一個選項來解除此操作表,我想通過特定事件上的程序自動解除此操作。任何想法的傢伙,我如何可以逐步消除這個動作表?如何自動解除UIActionSheet

回答

17

用途:

- (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated 
+0

感謝快速回復 – iamMobile 2009-10-11 20:37:29