The standard UIBarButtonSystemItem’s are pretty limited and mostly boring, so we usually have to find a custom image and create a UIBarButtonItem with initWithImage:style:target:action:. This is, of course, great in most cases, except when you have limited resources and don’t want to have too many images in your bundle.
Unicode to the rescue
There are literally thousands of unicode characters available on iOS for you to use and it’s, for the most part, simple to use them. For the standard behavior, just use initWithTitle:style:target:action: and set a unicode character as the title, but in cases where you need to customize the button even more, you could use something like this:
It’s that simple. Let’s refactor it into a category and add the ability to invert the unicode symbol, which is useful for creating butons with matching arrows.
Here are a few ideas to get you started:
Slide-out Menu (☰)
Forward button (➜) (invert the symbol for a back button)