Ios – what’s the event does the root viewcontroller get when a viewcontroller unload

iosiphone

I have a project inwhich the root controller call multi viewcontrollers.
What is the even what's the event does the root viewcontroller get when a viewcontroller unload?

Do I need to construct even by myself?

Best Regards

interdev

Best Answer

You can probably use viewwilldisappear to achieve what you are going for