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

Reply
 
LinkBack Thread Tools Display Modes
Old 04-23-2010, 10:31 AM   #1 (permalink)
Registered Member
 
Join Date: Apr 2010
Location: Paris
Posts: 26
albh is on a distinguished road
Default Add a table view to the detailed view of a navigation controller

Hi everyone

I have a navigation controller, with many rows, and a detail view for each one when clicked.

It's done in my rootviewcontroller.m with:
[self.navigationController pushViewController:rvController animated:YES];

Now, on this detailed view, I would like to do the same: put a table view, and when one row is clicked, move to a view.

I've put everything in the detailed view and IB, I don't get any error but to warnings.
It's this one that cause me issue in my detailedViewController.m:
[self.navigationController.view reloadData];

I have copy pasted this code from my rootview, because it worked there.
How do I update the table view from the detail view? Cause if I delete the lign with the warning, it loads but no data in the rows. If I let the lign, it crashes.

Any help appreciated!

Thanks

Regards
albh is offline   Reply With Quote
Old 04-26-2010, 02:55 AM   #2 (permalink)
Registered Member
 
Join Date: Apr 2010
Location: Paris
Posts: 26
albh is on a distinguished road
Default

Quote:
Originally Posted by albh View Post
Hi everyone

I have a navigation controller, with many rows, and a detail view for each one when clicked.

It's done in my rootviewcontroller.m with:
[self.navigationController pushViewController:rvController animated:YES];

Now, on this detailed view, I would like to do the same: put a table view, and when one row is clicked, move to a view.

I've put everything in the detailed view and IB, I don't get any error but to warnings.
It's this one that cause me issue in my detailedViewController.m:
[self.navigationController.view reloadData];

I have copy pasted this code from my rootview, because it worked there.
How do I update the table view from the detail view? Cause if I delete the lign with the warning, it loads but no data in the rows. If I let the lign, it crashes.

Any help appreciated!

Thanks

Regards
up please
albh is offline   Reply With Quote
Reply

Bookmarks

Tags
detail view, subview, table, tableview, view

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: 311
20 members and 291 guests
baja_yu, cgokey, Domele, Duncan C, Fstuff, gbenna, givensur, guusleijsten, HowEver, iphonedevshani, jbro, JoeRCruso, mdpauley, n00b, newDev, seokwon lee, SLIC, stanny, Steven.C, WheyLabs
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,112
Posts: 402,875
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

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