ios - Hide back button in navigation bar with hidesBackButton in Swift -


I want to hide back button when I change from one scene to another, I read the questions related to this problem and every Answer "Uses hides backbuttons ". The problem with this is:

  • When I put it in the view / view the view / view, the back button hides the arrow but the string is not "back".

  • When the hoodedpiper back button disappears when I put it in the scene but it appears to the user

I How can I fix this?

Edit:

Can you repeat this problem (or bug?)
create a new tabbed app with swift in Xcode To navigate to the second view controller, use the FirstViewController.swift to use SegueWithIdentifier. Use the hide in the second ViewController.swift to hide the navigation bar back button backbutton and you will see what the problem is.

Try adding it:

  back button = UIbar button Title (Title: "", Style: UIBarButtonItemStyle.Plain, Goal: Navigation Controller, Action: Zero) Navigation Items. LeftBarButtonItem = backButton  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -