I have a UINavigationBar that has a new height of 85 and is fixed for landscape and portrait. I add an edit button in the upper right corner, but it will not stay there.
I used the following:
[item setTitlePositionAdjustment:UIOffsetMake(0, -47) forBarMetrics:UIBarMetricsDefault]
But, if I rotate the device, it moves down 47 to its original location. If I change the metrics again, it will return to its original location. If I replace the button with another button, it will move the new button to its original location, and setting the position for the new button will do nothing.
I canβt figure out how to move the button and make it stay. Cannot use restrictions for UIBarButtonItem .
source share