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 12-20-2009, 12:30 PM   #317 (permalink)
jday001
Registered Member
 
Join Date: Dec 2009
Posts: 2
jday001 is on a distinguished road
Default self.navigationController is nil

I think I'm having a similar problem to ipnewbie from a few posts back, and wondering if any resolution was found.

I have a tab bar where some tabs are navigation controllers. Everything is set up in IB, and I'm pretty sure I've done that part right, as things are working as intended for the most part. My table views load and actions I wrote in didSelectRowAtIndexPath work fine.

However, for one of the navigation controllers that loads a table view, I've tried to create a nav bar button that pushes a child view. I've found that when I call the [self.navigationController pushViewController:animated] line, self.navigationController is nil. I found a way around this using:

[self presentModalViewController:childController animated:YES];

but this is not really what I'm looking for, and isn't addressing the real problem. It seems that my table view is never being pushed onto the navigationController's stack in the first place. Has anyone had a simliar issue or know what I'm doing wrong? I have a feeling this is something very simple, but I just can't get it to work.

Thanks!

Jeff
jday001 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,417
Threads: 94,015
Posts: 402,531
Top Poster: BrianSlick (7,978)
Welcome to our newest member, JackLD03
Powered by vBadvanced CMPS v3.1.0

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