A UIViewController (View A) calls another view controller (view B), invoking it as a modal control.
[self presentModalViewController: ViewB animated: TRUE];
And view B exists by calling:
[self rejectModalViewControllerAnimated: TRUE];
When this happens, everything looks right. EXCLUDES that View A viewWillAppear and viewDidAppear are not called (they are called when the application starts, though). The strange thing is ... I believe that this has already been done before, but I'm not sure what is happening now.
Is there something clearly wrong that I am doing? Thanks!
* UPDATE * I just found out that this behavior only happens with the transition type UIModalTransitionStylePartialCurl. For all other transition types, the parent view controller receives the viewDidAppear message simply.
So what should I do!?!
source share