Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

|Tab bar in a table view|-->App

appcodyappcody Posts: 17Registered Users
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


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,
Post edited by appcody on

Replies

  • appcodyappcody Posts: 17Registered Users
    appcody;386933 said:
    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,
  • appcodyappcody Posts: 17Registered Users
    Ok. So I presume that nobody has an answer, at all...

    Thanks in advance,
Sign In or Register to comment.