objective c - Is there a way to detect when a standard iPhone View Controller push/pop animation has completed? -
for custom animations in app, can use setanimationdidstopselector: method respond event animation has finished. there similar kind of mechanism detecting animation has finished standard view controller animation transition pushes , pops? (i.e. [self.navigationcontroller pushviewcontroller:vc animated:yes]) i think can try overide method: - (void)viewdidappear:(bool)animated this method called after view appeared in interface comment code: - (void)viewwillappear:(bool)animated; // called when view made visible. default nothing - (void)viewdidappear:(bool)animated; // called when view has been transitioned onto screen. default nothing so think if override viewdidappear , put logic here, code executed after transition finished more in viewwillappear , viewdidappear