objective c - How to hide navigation controller for UISearchController -


i running question new uisearchcontroller in ios 8. have root navigation controller hide since have customized top bar. however, when push search controller, nav bar come back, , make root screen's nav bar appear again.

i tried in root screen's viewwillappear, set navigationbar hidden, not working.

i searched how unhide nav bar, has same issue me on how hide ? don't wanna animation @ all.

the class uisearchcontroller have property entitled hidesnavigationbarduringpresentation determines whether navigation bar hidden during searching, can set true in following example:

self.searchcontroller.hidesnavigationbarduringpresentation = true 

i hope you.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -