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
Post a Comment