I have a View “A”, which loads a subview “B” which loads a subview “C”
Why does the ViewDidAppear event fire for “A” but not for “B” or “C”
ViewDidLoad does fire for A,B,C
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.
The events like view[will,did][Appear,Disappear] do not get fired since they are handled by the viewController superclass, not the nib loader (which calls viewDidLoad when each of your other views are loaded from a nib). You have to forward on these events by calling viewDidAppear yourself in any subviews (and really you meant subviews that are each managed by a view controller, right?) from the master viewDidAppear method, same thing for any of the other view controller methods you want fired in the subviews.