ios - set transparent navigation bar in split views detailview -


i have uisplitviewcontroller master & detail. both embedded uinavigationcontroller.

when push detail i'm setting improve usability across devices.

        let controller = (segue.destination as! uinavigationcontroller).topviewcontroller as! projectviewcontroller         controller.navigationitem.leftbarbuttonitem = splitviewcontroller?.displaymodebuttonitem         controller.navigationitem.leftitemssupplementbackbutton = true 

i want navigationbar transparent in detailview. works great on ipad with:

self.navigationcontroller?.navigationbar 

but not on iphone.

thank help!

try setting navigationbar.bartintcolor = uicolor.clear


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -