How to put a view on the back button of navigation bar?

Hey guys, I am wondering how to put a view on the back button of navigation bar? Not on title view, but on the back button. It seems like to me that the back button is a UIBarButtonItem, which doesn't inherite UIView... Help please!

Thanks!

Answers


You can do it programmatically using initWithCustomView.

AtomicElementViewController.m has a good example of this.


Need Your Help

Processing while read line remotely via ssh doesn't fill read variable

bash ssh while-loop

I'm trying to remotely process a while read line loop via ssh with the following:

Cannot Drag UIImageView upto the end of the UIScrollview?

ios objective-c iphone cocoa-touch uiscrollview

I have an UIScrollview with large content in horizontal. Now I want to drag a UIImageView upto the end of the UIScrollView. For that i'm using the following code.