Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-02-2008, 02:05 PM   #1 (permalink)
peejavery
Registered Member
 
Join Date: Aug 2008
Posts: 204
Default Change left navigation button from text to image

When pushing a new view controller, the "back" button uses the title of the previous view. Is there a way to make it so that it is UIBarButtonSystemItemBookmarks instead?

I've tried the following but it doesn't work.

Code:
UIBarButtonSystemItem btnItem = UIBarButtonSystemItemBookmarks;
UIBarButtonItem *btnSearch = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:btnItem target:self action:self.navigationItem.leftBarButtonItem.action];
self.navigationItem.leftBarButtonItem = btnSearch;
peejavery is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,722
Threads: 89,178
Posts: 380,497
Top Poster: BrianSlick (7,124)
Welcome to our newest member, idny99
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.