Method called when dismissing a UIViewController?

Posted by Ben Gottlieb on Stack Overflow See other posts from Stack Overflow or by Ben Gottlieb
Published on 2010-03-14T22:42:36Z Indexed on 2010/03/14 22:45 UTC
Read the original article Hit count: 236

Is there a general best-practices way of being notified when the current view controller is being dismissed (either popped or dismissModalDialog'd)? I can't use -viewWillDisappear:, since that also gets called when another viewController is pushed atop the current one.

© Stack Overflow or respective owner

Related posts about uiviewcontroller

Related posts about iphone