UIBarButtonItem Offset?

Я пытаюсь сместить UIBarButtonItems в моем приложении, мне нужно, чтобы они были слегка смещены из-за изображения, которое я использую для своей панели навигации, чтобы все выстраивалось правильно. Мне удалось сделать это так:

[[UINavigationBar appearance] setTitleVerticalPositionAdjustment:-3 forBarMetrics:UIBarMetricsDefault];
    [[UIBarButtonItem appearance] setBackgroundVerticalPositionAdjustment:-3 forBarMetrics:UIBarMetricsDefault];
    [[UIBarButtonItem appearance] setBackButtonBackgroundVerticalPositionAdjustment:-3 forBarMetrics:UIBarMetricsDefault];

У меня есть два вопроса, хотя.

This stops the buttons have any highlighted state, they function but are no linger visibly pressed down. Anyway around this?

More importantly, this works well pushing my buttons upwards in my nav bar, but it pushes them up in my toolbars as well at the bottom of the screen where I need the opposite, actually push them down a little. How can I handle this?

Любая помощь всегда ценится, спасибо.

Ответы на вопрос(2)

Ваш ответ на вопрос