ios - Changing UINavigationController Back Button Image Issue -
i trying change navigation controller button, facing problems image not being inline. have removed text clicking on navigation item in view controllers , changing button text single space " ".
then change navigation bar image custom 1 in navigation controller scene.
but image not inline.
does know why or best practises change button image.
id suggest take @ image , make sure arrow correctly positioned in image. may causing push upwards.
alternatively, use:
[[uinavigationbar appearance] settitleverticalpositionadjustment:(float)0.0 forbarmetrics:uibarmetricsdefault];
which change vertical positioning of title match image. however, may make rightbarbuttonitem
out of place.
Comments
Post a Comment