I need to check if the view controller is showing a modal view or not. And when a modal view is being shown, how can I intercept the “hide event” of the view controller’s own view?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not sure about what “view event” you are talking about, butyou can check formodalViewControllerproperty (which is deprecated in iOS 5) orpresentedViewControllerproperty which is “the new black” in iOS 5.