Yes, and easier than you think.
When calling the offsetModalViewControllerAnimated: function, the base view (the one that should appear) will receive a viewWillAppear message and a viewDidAppear message.
Caution: make sure your view controllers are connected correctly or these messages are lost.
Corey floyd
source share