How to dismiss UIActionSheet automatically
Asked Answered
F

1

12

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?

Fossa answered 11/10, 2009 at 19:52 Comment(0)
F
17

Use:

- (void)dismissWithClickedButtonIndex:(NSInteger)buttonIndex animated:(BOOL)animated
Fai answered 11/10, 2009 at 20:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.