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 " ".

enter image description here

then change navigation bar image custom 1 in navigation controller scene.

enter image description here

but image not inline.

enter image description here

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

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -