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 11-06-2011, 12:49 PM   #1 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 17
appcody is on a distinguished road
Question |Tab bar in a table view|-->App

Hi,

I am currently making an app which uses a table view. There are 5 table view cells. I programmed my app so that when i tap on the first cell, i get moved over to a tab bar. This doesn't really work though. The tab bar at the bottom gets displayed, but the content and the different 'tabs' in the tab bar are present.

I searched through the internet, and found out that some people say that you aren't allowed to put a tab bar in a table view. Some say you are able to though.

I have NO idea what I did wrong.

My procedure was basically this:

I created a navigation bar with table view. No errors here yet. I can move over to a different table view as well, when i click on cell number 2. but when i click on the tab bar, the table view slides over, and a tab bar appears at the bottom, with a white screen/window at the top. Everything is connected properly.

I know that there is absolutely no error in the code I'm using to switch over to the tab bar, which is

Code:
	if (indexPath.row == 0) {
		
		if(self.e == nil) {
			EMainMenu *View1 =
			[[EMainMenu alloc] initWithNibName:@"EMainMenu" bundle:[NSBundle mainBundle]];
			self.e = View1;
			[View1 release];	
		}
		[self.navigationController pushViewController:self.e animated:YES];
	}
Any suggestions??

Thanks in advance,
appcody is offline   Reply With Quote
Old 11-07-2011, 11:37 AM   #2 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 17
appcody is on a distinguished road
Post Revision of Question

Quote:
Originally Posted by appcody View Post
Hi,

I am currently making an app which uses a table view. There are 5 table view cells. I programmed my app so that when i tap on the first cell, i get moved over to a tab bar. This doesn't really work though. The tab bar at the bottom gets displayed, but the content and the different 'tabs' in the tab bar are present.

I searched through the internet, and found out that some people say that you aren't allowed to put a tab bar in a table view. Some say you are able to though.

I have NO idea what I did wrong.

My procedure was basically this:

I created a navigation bar with table view. No errors here yet. I can move over to a different table view as well, when i click on cell number 2. but when i click on the tab bar, the table view slides over, and a tab bar appears at the bottom, with a white screen/window at the top. Everything is connected properly.

I know that there is absolutely no error in the code I'm using to switch over to the tab bar, which is


Thanks in advance,

ok so while I was reading through my thread, i noticed that it wasn't really clear what my problem was.

My Problem is:

I have a table view

I want to get a tab bar view

I programmed it correctly

When the tab bar slides over the table view, the tab at the bottom is displayed WITHOUT any information at the bottom, and with a white, blank screen with no information whatsoever at the top.

Any ideas?

In case you were wondering, code is at the top :)

Thanks in advance,
appcody is offline   Reply With Quote
Old 11-10-2011, 09:01 AM   #3 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 17
appcody is on a distinguished road
Question

Ok. So I presume that nobody has an answer, at all...

Thanks in advance,
appcody is offline   Reply With Quote
Reply

Bookmarks

Tags
app, controller, navigation, tabbar, tableview

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: 407
17 members and 390 guests
7twenty7, Alex-alex, Apptronics RBC, baja_yu, dre, gwelmarten, ipodphone, jeroenkeij, jleannex55, matador1978, mbadegree, n00b, pbart, reficul, Retouchable, Sami Gh, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,676
Threads: 94,125
Posts: 402,910
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jleannex55
Powered by vBadvanced CMPS v3.1.0

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