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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:14:59+00:00 2026-05-23T18:14:59+00:00

I am making a UITableView by inheriting UITableViewControll as below @interface addAlarm : UITableViewController

  • 0

I am making a UITableView by inheriting UITableViewControll as below

 @interface addAlarm : UITableViewController <UITableViewDataSource>

then I have populating some data in its cells from delegate, as below

  if (indexPath.row == 0) {    
        AlarmProjectAppDelegate *delegate = (AlarmProjectAppDelegate *)[[UIApplication sharedApplication] delegate];

    NSString *cellValue = [NSString stringWithFormat:@"Name"];
    cell.textLabel.text = cellValue;
    return cell;

then I go to other controller as

              Name *ob = [[Name alloc] initWithStyle:UITableViewStyleGrouped];
        [self.navigationController pushViewController:ob animated:YES];

        [ob release];
        ob = nil; 

as There will be a back button and as I do click that it will be poped and come back on current Class “addAlarm”

but I saw that when it come back, then below method is not being called not even viewDidLoad, so table is refreshing it’s data,

  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

I used
[self.tableView reloadData];
in viewWillApear, but it won’t work and won’t call above method

what should I do to solve this problem, if you are not able to understand the question, you may ask again to me in comments,

Thanks in Advance

  • 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-23T18:15:00+00:00Added an answer on May 23, 2026 at 6:15 pm

    It is due to you are passing name value in dealloc method. So it is called after viewWillAppear of another view. So that is why your tableview is not being reloaded.

    Try to send value in viewWillDisappear method.

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

Sidebar

Related Questions

I have a UITableView and basically I'm making some in app settings, and if
I need some help. I have a UITableView that has cells that hold the
In my Universal App I have a long UITableView with custom cells..and for some
I am making a UITableView with a UISegmented control ala the Recent Calls tab
Making my first steps with NHibernate, I'm trying to have it creating my Tables
Making an adobe flex ui in which data that is calculated must use proprietary
After making some changes in my models (eg. new field in a model and
I have this bizarre problem. I'm making a checklist program with XCode and I'm
I am working on making a search bar above the UITableView, like in the
Here is the deal: I have a UITableView with 2 sections, and I want

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.