ios - How to remove back button from scrollview in Xcode/Swift -


i trying remove automatically generated button scrollview in xcode. thanks.

enter image description here

you using uinavigationcontroller , uiscrollview not have uinavigationbar inside it. need set normal uiviewcontroller or hide button in uinavigationbar in following way:

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

or in way :

let backbutton = uibarbuttonitem(title: "", style: uibarbuttonitemstyle.plain, target: navigationcontroller, action: nil) self.navigationitem.leftbarbuttonitem = backbutton 

i hope you.


Comments

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -