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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:33:34+00:00 2026-06-13T02:33:34+00:00

I have a UITableView in which I m loading NSMutableArray data .The data is

  • 0

I have a UITableView in which I m loading NSMutableArray data .The data is from service url.Now when I elect a particular I am directing it other view which contains data in detail.I have a navigationbar in SecondViewController and a back button on it.If I click the button it should reload the prevoius tableviews data which it has already loaded.
But now when Im doing it back button is working and going back to prevoius view but I couldnot see the UITableView and data in it ..I dont know where I m going wrong…

This is the code..

-(IBAction)switchtofirst
{
FirstViewController *gp=[[FirstViewController alloc] initWithNibName:@"FirstViewController" bundle:nil];
 [gp.tableView reloadData];
[self presentModalViewController:gp animated:NO];
[gp release];

}

What else I have to do to get back UITableView and its data back in UITableView ?

Any help would be appreciated…

Thanks ….

  • 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-06-13T02:33:35+00:00Added an answer on June 13, 2026 at 2:33 am

    You dont need to create object and write code like that.

    in Back Btn Action You just write

    -(IBAction)switchtofirst
       {
    
        [self dismissModalViewControllerAnimated:YES];
    
       }
    

    Try this

    I hope it will works fine

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

Sidebar

Related Questions

I have a UITableView which I am loading it with NSMutableArray . I want
I have a UITableView which loads data from XML using the below code. It
I have a UITableView which loads its data from the web. It takes a
I have a view which has a UITableView where I am lazy loading images.
I have a UITableView which generates its data from a pList. I have a
guys, I have UITableView with some images, which are loading from internet. Images is
I have a UITableView which I want to populate with details from an array
I have a UITableView which is populated with some parsed JSON twitter data. The
I have a TableView loading a custom cell and loading the data from a
I have a UITableView which I present in a UIPopoverController . The table 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.