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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-08-2010, 01:59 PM   #1 (permalink)
Coincidental Coder
 
bachonk!'s Avatar
 
Join Date: Dec 2009
Location: Lakeville, MA
Posts: 104
Default Implement Navigation Controller on New View

My application starts with the main screen being just a plain UIViewController, but when I click to get to my next view, I want to implement a navigation controller and a table for an RSS feed.

I have the table and RSS parsing code, but I don't know how I can turn the table view into a navigation controller. I've seen code for navigation controllers but they're always used on the main window and involve the app delegate.

I'm pretty new to the SDK so any hints, tutorials, or sample code would be greatly appreciated.
bachonk! is offline   Reply With Quote
Old 02-08-2010, 02:20 PM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,129
Default

Start with the navigation controller, but hide the bar on the first screen.
__________________
BriTer Ideas LLC - Code review, consulting, development. PM for pricing.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
BrianSlick is offline   Reply With Quote
Old 02-08-2010, 02:31 PM   #3 (permalink)
Coincidental Coder
 
bachonk!'s Avatar
 
Join Date: Dec 2009
Location: Lakeville, MA
Posts: 104
Default

Quote:
Originally Posted by BrianSlick View Post
Start with the navigation controller, but hide the bar on the first screen.
The navigation bar is now showing on the main screen but not on the other view controllers. How can I hide it on the first screen and show it on the others?
bachonk! is offline   Reply With Quote
Old 02-08-2010, 02:41 PM   #4 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,129
Default

Code:
[[self navigationController] setNavigationBarHidden:(YES or NO) animated:(YES or NO)];
__________________
BriTer Ideas LLC - Code review, consulting, development. PM for pricing.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
BrianSlick is offline   Reply With Quote
Old 02-08-2010, 02:48 PM   #5 (permalink)
Coincidental Coder
 
bachonk!'s Avatar
 
Join Date: Dec 2009
Location: Lakeville, MA
Posts: 104
Default

Quote:
Originally Posted by BrianSlick View Post
Code:
[[self navigationController] setNavigationBarHidden:(YES or NO) animated:(YES or NO)];
thanks, sorry for the amateurism of the question.
bachonk! 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
» Online Users: 247
20 members and 227 guests
ADY, bookesp, ckgni, dacapo, Dani77, DarkAn, Davey555, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, LEARN2MAKE, prchn4christ, Rudy, ryantcb, Speed, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,766
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

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