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

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

java.util.scanner - How to read and add only numbers to array from a text file -