ios7 - ViewController Undo Segue in iOS 7 -
in ios 7 when tap tab-bar "undo's" push segue... example if push segue view controller , tap tab-bar goes old view controller. how can fix that?
this standard operation of uitabbarcontroller, , has been since ios 2, far i'm aware.
you can prevent happening setting delegate of uitabbarcontroller , handling this:
- (bool)tabbarcontroller:(uitabbarcontroller *)tabbarcontroller shouldselectviewcontroller:(uiviewcontroller *)viewcontroller { return viewcontroller != tabbarcontroller.selectedviewcontroller; }
Comments
Post a Comment