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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:49:54+00:00 2026-06-17T09:49:54+00:00

I am working on an IPhone app that, through viewDidLoad, makes a connection and

  • 0

I am working on an IPhone app that, through viewDidLoad, makes a connection and pulls data into a table. I would like the controller, or at least the table, to reload every time the controller is displayed, even if someone just switched from one tab to another or closed and re-opened the app on this controller. Is there a way to do this? I can’t seem to find anything, it’s also kind of a hard thing to search for. I have found discussions of when to put code in viewDidLoad but not another method that is run every them the controller displays.

Thanks,
Cheryl

  • 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-17T09:49:55+00:00Added an answer on June 17, 2026 at 9:49 am

    There’s no way to do it by injecting code in only one place.

    You can think of a workaround, like for example sending custom “reload request” notification from required parts of code:

    1. viewDidAppear: in your view controller
    2. applicationDidBecomeActive: (if table is presented)
    3. tabBarController:didSelectViewController: (if switched onto controller with the table)
    4. tabBar:didSelectItem: (same as above)
    5. etc.

    In you view controller simply observe this notification and reload data when required.

    Although, whats more important: do you really need to reload data under such harsh requirements? In most cases data reload happens when

    1. view controller’s viewDidLoad: is called
    2. it is manually initiated (button, for example)
    3. long time passed since the last update was received

    Otherwise it’s just an overkill.

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

Sidebar

Related Questions

I'm working on an iPhone app that unlocks further content through an in app
I am working on an app that will sync data between users through a
I have a nice working iphone app that works with core data. I use
I'm working on an iPhone app which graphs a large database, accessed through core-data,
I'm working on an iPhone app that requires a basic client/server interaction model. For
I'm working on an iPhone app that offers the user the opportunity to send
I'm working in a iPhone app that needs to send a array as a
The iPhone app that I am working on requires GET calls to a 3rd
I'm working on a very simple iPhone app, that in the end will have
I've been working on and off with a team that's developing an iPhone app.

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.