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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T06:09:51+00:00 2026-05-25T06:09:51+00:00

I have a navigation app that has a section where you define your search

  • 0

I have a navigation app that has a section where you define your search parameters that is basically a uitableview of custom cells that do different things (uitextview, switches and labels)

What I am wanting to do is when the user selects a cell from the tableview it opens a new uitableview, when that view opens it will send a request to my database via php and get an xml response that will fill the table of that view. However I only want to use one uitableview for a few different cell selections in the previous view.I am wanting to know if I am able to specify the title of the subview when the a parentviews cell is selected.

I hope that explains what I am trying to achieve… If this is not the way for doing things could you let me know.. but from what I have been doing I think it is the correct way for doing things.

**Update
I am now trying to figure out how to define the title based off which cell was pressed, I am trying to do something like this..

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

     SearchResponseTableViewController *searchResponseTableViewController = [[SearchResponseTableViewController alloc] initWithNibName:@"SearchResponseTableViewController" bundle:nil];
     // ...
     // Pass the selected object to the new view controller.
     [self.navigationController pushViewController:searchResponseTableViewController animated:YES];
    if (indexPath = 1,3) { //<<--- not sure what to do here or if its possible
        searchResponseTableViewController.title = @"manufacture";
    }
     [searchResponseTableViewController release];

}
  • 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-25T06:09:52+00:00Added an answer on May 25, 2026 at 6:09 am

    Simple: before you push the view in didSelectRowAtIndexPath: you specify the title, which is a property of the view controller.

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
       //...
       SubViewController *controller = [[SubViewController alloc] init]; 
       controller.title = @"Whatever";
       [self.navigationController pushViewController:controller animated:YES];
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a flexible navigation bar in my app that will show custom
I have a navigation app that has many screens the user navigates to. A
I have a universal iOS app with a custom view that has three buttons,
I have a navigation based app. The screen List has a UITableView with a
I have a django app that has a horizontal navigation. For some reason I
I have an iPad app that has linear navigation with a Navigation Controller. I
I have an iPhone app that is based on a navigation controller. I have
I have an app, which has a top navigation bar and a bottom tab
Im writing an app that has a navigation controller as it's main menu system
I have an app that has a UINavigationController that pushes a UITabBarController into view.

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.