I'm trying to dismiss a UIActionSheet from the app delegate so that it doesn't show again when you return from background. I've tried to dismiss the action sheet from the viewDidUnload
or viewDidDisappear
methods in the subclass view controller, but that doesn't seem to get called when the app backgrounds.
Therefore, I'm trying to use the app delegate to dismiss either UIActionSheet
that may be showing when the app backgrounds. But I can't figure out what to call. Does anyone have a solution? Or a better idea to accomplish the same thing?
Thanks.
UIActionSheet
object as an instance variable of your class or not – Analogue