ios - Navigation controller back button when getting back from Facebook share -


i'm using facebook share dialog when sharing content app.

i'm presenting content going share on marypopin controller , works perfect except navigation controller. adds "back button" when getting facebook.

any ideas why happening?

before leaving app: when returning app:

you're using navigation controller, adds "back" (or custom text) button default navigation bar.

if want hide button (not remove or replace it), in viewdidload add line of code:

obj-c:

self.navigationitem.hidesbackbutton = yes; 

swift:

self.navigationitem.sethidesbackbutton(true, animated:true); 

Popular posts from this blog