iphone - Pushing a new viewcontroller via a next button? -
iphone - Pushing a new viewcontroller via a next button? -
sorry can't show code question - should simple explain..
i have array of info (object1, object2, object3, etc)… have 1 tableview lists these objects (object1.title, object2.title, etc) , upon clicking push's viewcontroller shows detail of each object. now, rather have press on each detail view, i'd set next button on detail page..
i force new controller, end chain of:
list view -> detailview1 -> detailview2, etc..
which pain traverse stack.. can parent view controller removed / changed or not best way it?
cheers.
you can pop specific index in stack. have button pops parent. if there no real reason user need go through detail view controllers swap controllers replacing stack new stack using setviewcontrollers:animated: through uinavigationcontroller documentation , see whats possible.
iphone uitableview uiview uiviewcontroller
Comments
Post a Comment