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 7089071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T07:52:40+00:00 2026-05-28T07:52:40+00:00

this is a newbie question.i ve created a grouped tableview .on clicking the tableview

  • 0

this is a newbie question.i ve created a grouped tableview .on clicking the tableview cell it navigates to a new view.but i m unable to create a back button.I even added a navigation bar in the second view of the nib file.but its of no effect..could you guys help me out..below is the screenshot and code of the first view

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// Navigation logic may go here. Create and push another view controller.

    if (indexPath.row==0) {
    self.dvController1 = [[FirstView alloc] initWithNibName:@"FirstView" bundle:[NSBundle mainBundle]];
    [self.navigationController pushViewController:dvController1 animated:YES];
        }

if (indexPath.row==1) {
    self.dvController2 = [[Tab4 alloc] initWithNibName:@"Tab4" bundle:[NSBundle mainBundle]];
    [self.navigationController pushViewController:dvController2 animated:YES];

}


 }

enter image description here

enter image description here

  • 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-05-28T07:52:40+00:00Added an answer on May 28, 2026 at 7:52 am

    In the presented controller add a button with an IBAction in it:

    - (IBAction)back:(id)sender {
       [self.navigationController popViewControllerAnimated:YES];
    }
    

    And make sure that you have a navigationController indeed (meaning that your application needs to be navigation oriented, meaning that you need to instantiate the navigationController property in the application delegate)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm sure this is a newbie question, but every time I've compiled/dl'ed a new
This may sound a newbie question ... but however I'm new to iOS development.
This is a very newbie question, but something completely new to me. In my
This is a very newbie question. I want to know how to create a
I'm really new to VSTO so sorry if this is a newbie question. I'm
Total newbie question but this is driving me mad! I'm trying this: myInt =
This is sort of SQL newbie question, I think, but here goes. I have
A newbie question (I haven't really created new projects in Eclipse yet): I have
I'm a newbie with PHP so this might be ridiculously easy question, but despite
This is probably a really stupid newbie-sounding question to you developer type people, but

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.