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,