How to tell if there is a modal UIViewController presented?

Viewed 7409

Is there a way to tell whether there is a modal UIViewController presented already, say, before calling dismissModalViewControllerAnimated?

5 Answers
Related