I'm looking for a way to create programmatically an UIBarButtonItem
that looks like a back button of UINavigationBar
.
Apparently seems like that the back button appears only after a push on the UINavigationController
.
So I'm able to insert only a button with the "cancel" style. But my goal is to create a button with the "New Item" style.
Ideas ?
the short answer is you cannot do it.
you can save an image and you can put the image to that position, but the back button is managed by private part of the UINavigationBar
.