← Back to list

How to move UIBarButtonItem to the left?

There are many way to do that, you can search in https://stackoverflow.com. But my way, it’s more simple:

Wios · 2020-06-16 07:34 · 2 claps · 0.6 min read
#uibarbuttonitem #uibarbuttonitem-padding #uibarbuttonitem-to-left #naigationbar-padding
Open on Medium ↗
Wiki topics: 🏀 · Basketball

How to move UIBarButtonItem to the left?

There are many way to do that, you can search in https://stackoverflow.com. But my way, it’s more simple:

Just change the imageInsets, and here is what I have

So hope it will help you custom the navigation bar button with your image and make it closer with the left side.

Happy coding!


메타데이터
post_id
ecc29206d89d
slug
how-to-move-uibarbuttonitem-to-the-left-ecc29206d89d
url
https://medium.com/@wios/how-to-move-uibarbuttonitem-to-the-left-ecc29206d89d
canonical_url
https://medium.com/@wios/how-to-move-uibarbuttonitem-to-the-left-ecc29206d89d
author_url
https://medium.com/@wios
status
ok
fetched_at
2026-07-29 00:50:04