ios - Remove "<" from UINavigationItem Back Button -


how can remove "<" uinavigationitem button. have uiviewcontroller on storyboard that's opened push segue. i'd have text on button, , not arrow.

so far, added code prepareforsegue function in calling uitableviewcontroller.

        let backitem = uibarbuttonitem(title: "done", style: uibarbuttonitemstyle., target: nil, action: nil)         navigationitem.backbarbuttonitem = backitem 

when uiview comes up, has "< done" in text of button. how can set has "done"?

add 2 line of code in appdelegate. remove indicator view controllers.

func application(application: uiapplication, didfinishlaunchingwithoptions launchoptions: [nsobject: anyobject]?) -> bool {      uinavigationbar.appearance().backindicatorimage = uiimage()     uinavigationbar.appearance().backindicatortransitionmaskimage = uiimage()  } 

if getting space in left side set title position

uibarbuttonitem.appearance().setbackbuttontitlepositionadjustment(uioffsetmake(-20, 0), for: uibarmetrics.default) 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -