ios - popToViewController and memory management -
i have 3 view controllers pushed in navigationcontroller on third 1 used statement
[self.navigationcontroller poptoviewcontroller:(main_view*) mainviewobj animated:yes];
it takes me directly specified controller first. have done coding remove objects nsmutabledictionary in viewwilldisappear method in view controllers, tried debugging using break points never comes viewwilldisappear, takes me directly main_view. should worried removing objects dictionary or releasing it?
the viewwilldisappear: method not called other view controllers because have disappeared when pushing view controllers on top of them. basically, viewwilldisappear: called them @ earlier point. wouldn't make sense call again, because weren't visible in first place.
Comments
Post a Comment