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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:43:36+00:00 2026-05-24T09:43:36+00:00

in my TableView i use UserSelect *detailViewController = [[UserSelect alloc] initWithNibName:@UserSelect bundle:nil]; detailViewController.title=@Marca Teste;

  • 0

in my TableView i use

    UserSelect *detailViewController = [[UserSelect alloc] initWithNibName:@"UserSelect" bundle:nil];
    detailViewController.title=@"Marca Teste";      
    [detailViewController.view setTag:1];       
    [self.navigationController pushViewController:detailViewController animated:YES];
    [detailViewController release]; 

i want after selection in detailViewController(UserSelect) update my TableView how do make?

Another related question

In this code, i set tag to 1, but when my detailView is loaded ,tag always is 0, what`s wrong?

Thanks

edit1

rootViewController .h

#import <UIKit/UIKit.h>
#import "DataClass.h"


@interface TestTable : UITableViewController {

    IBOutlet UITableView *MyTbl;        
}

@property (nonatomic,retain) IBOutlet UITableView *MyTbl;

@end

and m

- (void)viewDidLoad {
    [super viewDidLoad];

    UIBarButtonItem *back=[[[UIBarButtonItem alloc] initWithTitle:@"MENU" style:UIBarButtonItemStyleBordered target:self action:@selector(LoadMenu)]autorelease];

    self.navigationItem.leftBarButtonItem=back;

    // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
    // self.navigationItem.rightBarButtonItem = self.editButtonItem;
}


-(void) LoadMenu
{
    if (self!=nil) {
        [self.navigationController.view removeFromSuperview];               
    }
}



- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    [self.MyTbl reloadData];
}
  • 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-24T09:43:37+00:00Added an answer on May 24, 2026 at 9:43 am

    In the viewWillAppear of the rootViewController set

    [self.tableView reloadData];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use this in a function of table's parent view to show the tableview:
Please refer to the image. If I use [self.tableView initWithFrame:CGRectMake(0, 0, 320, 320) style:UITableViewStyleGrouped];
how to use UISegmentedControl to change datasource in tableview? with sql tables or read
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { if(section != 0) { UIView *view = [[[UIView
I have a tableView that's loosely based on the DetailViewController in ye olde SQLiteBooks.
I have a tableview that occupies only the bottom third of my view. I
I want to use a TableView for representing a Username/Password textfields dialog in a
I have a view which consists of a tableview and a navigation bar. For
I want to use a tableview as a picker. For example, when selecting a
I have very custom TableView like Add Contact View in iPhone's Contacts. I like

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.