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

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

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

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-16-2009, 05:20 AM   #1 (permalink)
TimC
Registered Member
 
Join Date: Feb 2009
Posts: 41
TimC is on a distinguished road
Default Custom back button in Navigation Controller views

I'm adapting Apple's DrillDownSave sample code, which let's you transition between views using a Navigation Controller.

What I want to do is have the first two screens NOT have the top bar. I can do that by putting this in the first two views 'viewWillAppear' method:
Code:
    // turn off the navigationBar (top bar)
    [[self navigationController] setNavigationBarHidden:YES animated:NO];
Great... no top bar. But now I am struggling to implement a button (UIButton) which will perform exactly the same function as the hidden UINavigationController back button. Any ideas?
TimC is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,633
Threads: 94,090
Posts: 402,789
Top Poster: BrianSlick (7,990)
Welcome to our newest member, nor9849
Powered by vBadvanced CMPS v3.1.0

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