iOS memory warning sent to deallocated UIViewController
问题 I have strange behavior. My application being launched with UINavigationController . If I push view controller ANavigationController , go back and simulate memory warning everything works good. If I push the same view controller ( ANavigationController ) the same way, go back and simulate memory warning - application crashes with error: [ANavigationController retain] : message sent to deallocated instance. While debugging this I've printed addresses of pushed controller and deallocated one: