swift - how to adjust y-axis of back button in iOS -


i have created custom navigation controller subclassing uinavigationcontroller. when increase size of navigation bar button slides down. then how adjust y-axis of button.

enter image description here

self.navigationbar.frame = cgrect(x:0, y: 20, width: self.view.frame.size.width, height: 64.0) 

i able adjust y axis of title below code

self.navigationbar.settitleverticalpositionadjustment(-30, for: .default) 

try - (void)setbackbuttontitlepositionadjustment:(uioffset)adjustment forbarmetrics:(uibarmetrics)barmetrics; - (void)setbackbuttonbackgroundverticalpositionadjustment:(cgfloat)adjustment forbarmetrics:(uibarmetrics)barmetrics;


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -