I'm trying to increase the navigation bar in my project with:
navigationBar?.frame.origin.y = +50
But it also change the left bar button item. Is there any way to move it back to the original position?
And then:
I'm trying to increase the navigation bar in my project with:
navigationBar?.frame.origin.y = +50
But it also change the left bar button item. Is there any way to move it back to the original position?
And then:
If you want to totally customized navigation bar
then you should hide default navigation bar
and you can use UIView
work as NavigationBar
. You can set desired height to it and you should keep it's width equal to your screen width
. You should then add UIButton
on that view at your desired position working as back button or other function!