popToRootViewControllerAnimated and dealloc all views
Posted
by mongeta
on Stack Overflow
See other posts from Stack Overflow
or by mongeta
Published on 2010-05-27T10:40:34Z
Indexed on
2010/05/27
10:51 UTC
Read the original article
Hit count: 336
iphone
|uinavigationcontroller
Hello again,
I have a UINavigationController that asks for some information and the user navigates until the end, once there, they can Accept or Cancel all the data that has been entered.
It doesn't matter wich option they choose, as they always will go to the first view using
[UINavigationController popToRootViewControllerAnimated:]
The question is, how I can release/deallocate all the views ?
For example, they start for view 1 and the end is at view 8, once they go directly to the 1 from the 8, how I can release view 2,3,4,5,6,7,8 ?
thanks,
regards,
m.
© Stack Overflow or respective owner