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 01-30-2011, 02:10 PM   #1 (permalink)
cye
14 Year Old App Developer
 
Join Date: Mar 2010
Location: Texas
Posts: 242
cye is on a distinguished road
Default Click on table view cell to open another table view?

Hello all,

I have encountered a problem with opening a new table view with the click of a table view cell. When the cell is clicked, it just turns blue and doesn't switch views. Here is my code:
Code:
-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if (tableView == [self rootTableView])
	{		
		[self.view addSubview:editCardsView];
		
	}
	else if (tableView == [self editCardsTableView])
	{
		
	}

}
The current tableview that is being shown is called rootTableView, and when a cell from it is clicked, it should open up a view called editCardsView with another table view on it called editCardsTableView. The problem is, once the cell is clicked, it just freezes and stays highlighted/blue. It doesn't crash or anything either.

Help is very much appreciated, thank you!
__________________
14 year old app developer!

Type Faster and More Accurately With Easy Typing

"Like" me on facebook!

A+ FlashCards currently #6 Free Education app


Confidence is contagious. So is lack of confidence.
-- Vince Lombardi
cye is offline   Reply With Quote
Reply

Bookmarks

Tags
two table views, uitableview, uitableviewcell

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: 353
15 members and 338 guests
7twenty7, blasterbr, Clouds, dre, EvilElf, iAppDeveloper, jeroenkeij, jimmyon122, Mah6447, Morrisone, n00b, pungs, Sami Gh, stanny, toon4413
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,121
Posts: 402,900
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

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