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 05-29-2009, 06:09 PM   #14 (permalink)
siamak
Member
 
Join Date: Apr 2009
Location: London, UK
Posts: 39
Default

I had a similar problem earlier today. In the viewDidLoad method of my modal view's controller, I was trying to set the title of the navigation bar as well as add left and right buttons to the navigation bar. I was accessing the navigation bar using "self.navigationItem".

And as in your app, I was not getting the desired effect.

But I went back to IB and by right clicking on the File Owner (set in IB to my modal view's controller), I noticed that its "navigationItem" property was not connected to my modal view's navigation bar. Once I established this connection, everything was fine.
siamak is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,856
Threads: 89,223
Posts: 380,680
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Walkern
Powered by vBadvanced CMPS v3.1.0

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