Memory management with changing rootViewController of window <p>I am changing rootViewController of window dynamically in my application in Non - ARC application.</p> <p>My question is do i need to release previously assigned rootViewController? How memory is management is done with previously allocated rootViewController?</p> <p>My Second question is about newrootViewController. how i can manage memory for new rootViewController for window.</p> <p>Any help will be appreciated.... </p>