Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone ($4.99)

dotnetIQ ($4.99)

Your First iPhone App ($1.99)

iPocket Tools 9 in 1 ($0.99)

Catch-Me (Free)

Alien Strike ($0.99)

Historic Olympic Medal-Table ($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 04-20-2009, 07:20 AM   #1 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 185
Default Custom back button in navigator

Hi,
I'm tring to define my own BackButton in a Navitagation Bar.
I can do that but I would like the button to be like regular back button generated when pushing a view, so a arrow like button.
The one I get is a standard rectangular button:

Thanks in advance

Code:
[self.navigationItem setTitle:@"Testing"];
UIBarButtonItem* testProgBack = [[UIBarButtonItem alloc] initWithTitle:@"Go Back" style:UIBarButtonItemStylePlain target:self action:@selector(flip:)];	
[self.navigationItem setLeftBarButtonItem:testProgBack];
melmoup is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


» Advertisements
» Stats
Members: 21,500
Threads: 35,780
Posts: 156,758
Top Poster: smasher (2,449)
Welcome to our newest member, VanCrey
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:06 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0