iphone - Crash when invoking popToRootViewControllerAnimated:NO, set animate to YES work no crash, strange. -
iphone - Crash when invoking popToRootViewControllerAnimated:NO, set animate to YES work no crash, strange. -
my app based on uinavigationviewcontroller, there 3 viewcontroller in stack, named a, b, c, root view controller, in viewcontroller c next operation, app crash 100%.
- (void) delaypopaction { [[self navigationcontroller] poptorootviewcontrolleranimated:no]; } - (void)searchtap:(id)sender{ [self performselector:@selector(delaypopaction) withobject:nil afterdelay:3.0]; }
trace zombie , find crash dues c has been destroyed there still event available sent him. more strange, if alter animated parameter no yes, no crash happen, maybe dues c's life circle has been enlarged.
see api doc. how no mean? don't understand clearly. animated set value yes animate transition. pass no if setting navigation controller before view displayed.
any thought or suggestion appreciated, in advance.
oh, view-controller implementation defect.
iphone uinavigationcontroller crash
Comments
Post a Comment