iphone - How to dismiss UIActionSheet or UIAlertView after the UIViewController popped -
in situation, when uialertview or uiactionsheet showing, due external event, supposed pop view controller, when both alert view or action sheet showing on view not destroying. showing alerts view in many places don't want make member variable , dismiss checking 1 one.
how handle case? idea appreciated.
thanx.
for alertview can use below answer
https://stackoverflow.com/a/16915501/1713478
and actionsheet use below code
[actionsheet dismisswithclickedbuttonindex:0 animated:yes];
Comments
Post a Comment