ios - Override navigation controller back button -


i have uiviewcontroller called detailviewcontroller push homeviewcontroller.

in detailviewcontroller there container display subview a, b , c.

if tap button in navigation bar, navigation pops homeviewcontroller, expected. i'd override button if container displaying subview b, container updates show subview (and likewise, subview c goes subview b). , if we're displaying subview pop homeviewcontroller expected.

essentially, need able tap button force navigation not pop previous view. possible?

i know hide button , replace custom bar button item don't want that. want keep exact styling of native button.


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -