I need to check if viewWillDisappear:
is called because I am presenting another UIViewController
as modal or not. Does anyone know if this is possible?
UPDATE
I want to know why it is being called. For example, if its being popped or if another viewcontroller
is shown as modal. I need to differentiate the both.