Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8500211
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:53:03+00:00 2026-06-11T00:53:03+00:00

I have a UITableView with a cell named ‘Sunset’. Upon pressing the UITableViewCell, the

  • 0

I have a UITableView with a cell named ‘Sunset’. Upon pressing the UITableViewCell, the view switches to ‘infoView’ which loads some text from a .txt file. When pressing the ‘back’ button, the view switches back to the UITableView but there’s a problem. After loading the view, the UITabBar is gone! Since it is gone, it is impossible to go back to another view.

I have tried:

self.hidesBottomBarWhenPushed = NO;

Code:

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 
{
    [tableView deselectRowAtIndexPath:indexPath animated:YES];
    UITableViewCell *cellSelected = [tableView cellForRowAtIndexPath:indexPath];
    NSString *cellTitle = cellSelected.textLabel.text;

    if (cellTitle == @"Sunrise")
    { //Swap views
        informationView *iv = [[informationView alloc] initWithNibName:nil bundle:nil];
        [self presentModalViewController:iv animated:YES]; 
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:53:05+00:00Added an answer on June 11, 2026 at 12:53 am

    Of course the tab bar doesn’t show. You are presenting the second view modally. If you want to keep this implementation you are going to have to add a button or something on the second view that will perform

    [self.navigationController dismissModalViewControllerAnimated:YES];  //Programatically dismiss the view controller
    

    If you want to keep the tabBar and the navigation bar functionality, you should use

    [self.navigationController pushViewController:iv animated:YES];
    

    instead of

    [self presentModalViewController:iv animated:YES];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a uitableview that loads fairly large images in each cell and the
I have created a class named ListCell which is a subclass of UITableViewCell .
I have a UITableView consisting of roughly 10 subclassed UITableViewCell s named TBPostSnapCell. Each
I have a UITableView that displays single large images in each cell. The names
I have UITableView and cell's are customized and have a UIImage with UIbutton, UIlabel
I have a custom UITableView cell that has a UIImageView sized to the width
i have a custom UITableView Cell, i have selected a particular cell and goes
I have a UITableView with each cell being broken into several sections with a
I have a UIButton in a UITableView cell, in a UITableView. The result is
i have a UITableView where i want one cell(database row) needs to be default,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.