I think the first step would be to add an image view. If I have to add any code, please tell me where it belongs. I’m not asking you to go out of your way to tell me how to add the code. I know how to do that. I just want to know where in “UIViewController.h” the code belongs. Oh, and if the image has to be a PNG, please tell me.
Share
The following code would put an image where the title goes. If you want both, you’ll need a UIView that has both the image and a label for title added to it, and then set that UIView as the view in the second line of code below (NOTE: If using ARC remove the autorelease part):