Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to dismiss UIActionSheet automatically

I have a requirement where i am showing actionSheet but in case user does not dismiss this actionsheet by selecting one of the option, i want to dismiss this automatically by program on a particular event. Any idea guys, how can i dismiss this actionsheet progratically?

like image 754
iamMobile Avatar asked Oct 11 '09 19:10

iamMobile


1 Answers

Use:

- (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated
like image 60
klaaspieter Avatar answered Oct 15 '22 00:10

klaaspieter