UINavigationController: How do I delete a view of a stack
Posted
by Harry Pham
on Stack Overflow
See other posts from Stack Overflow
or by Harry Pham
Published on 2010-04-07T18:50:01Z
Indexed on
2010/04/07
18:53 UTC
Read the original article
Hit count: 218
Let say here is my stack layout
View3 --> Top of the stack
View2
View1
HomeView --> Bottom of the stack
So I am in View3
now, if I click the Home
button, I want to load HomeView
, meaning that I need to pop View3
, View2
, and View1
. But if I pop View3
, View2
will be displayed. I dont want that. I want View3
, View2
, and View1
be removed, and HomeView
will be displayed. Any idea how?
© Stack Overflow or respective owner