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

  • SEARCH
  • Home
  • 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 6906183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T08:16:38+00:00 2026-05-27T08:16:38+00:00

So I have two tableViews, one is shown first in a popover, then when

  • 0

So I have two tableViews, one is shown first in a popover, then when a row is selected, it brings up another tableView as the detailView. Then I make a selection and update my model on the detailTableView. Then when I go back to the original tableView, my data for that row is not updated.

I have a UINavigationController as the contentViewController for this popover controller. I didn’t know how I could update the label for that cell when I pop off the detailTableView. TIA.

Edit: Essentially, I’m trying to do something similar to settings->Locations. When you click on Locations, it brings you up to a detail View. If you turn Locations off, then your main view says Locations -> Off. If Locations is turned On, then it would say Locations->On on the main Table View. I don’t know how to get a reference to the row that gets created in cellForRowAtIndexPath to change the label for that row only if that makes sense. Thanks.

Edit: Added code below

So I understand that I can send a notification, but I don’t know how to update that specific cell when I go back to the mainTableView since I don’t have a reference to the cell. Thanks.

In my cellForRowAtIndexPath:

else if ([indexPath section] == VERSION) {
    cell = [tableView dequeueReusableCellWithIdentifier:@"VersionCell"];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"VersionCell"] autorelease];
    }
    NSArray *array = [[dmgr VersionDictionary] allKeysForObject:[NSNumber numberWithBool:YES]];
    cell.textLabel.text = [array objectAtIndex:0];
    cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
}
  • 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-27T08:16:38+00:00Added an answer on May 27, 2026 at 8:16 am

    You can either tie two TableView controllers together by passing the popover tableVC into the detail, so the detail can notify the popover that data has changed,

    or

    you can have the popover tvc register for a notification, and have the detail tvc post that notification. When popover receives it, it reloads,

    or

    you can have popover tvc be a KVO listener to the actual model data that changes, and when it does, reload.

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

Sidebar

Related Questions

I have a UITableView With Two Sections. First section has one row and the
I have two UITableview. The first one shows 3 sections with 3 row each
In my 'Sectioned' UITableView I have two sections, the first one for Attributes like
I have two tableView sections, sometimes the first section dosen't have any data in
I have a simple application with two views, one is a TableView and the
I have two arrays one is for names and another is for phone numbers,and
i have a tough one for you today. I have two tableViews in my
I have two Tabitems, In first TabItems i have One NavigationViewController. Now When i
I have two UITableViewControllers with a fairly simple ui flow. One UITableViewController loads another
I have two identical tables and need to copy rows from table to another.

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.