views:

37

answers:

2

Hi,

When my Iphone-App was already running and I try to go back to it then it cannot refresh or reload the news or tables automatically. How could i set an automatic refresh on the quickstart of the App?

Thx

+2  A: 

You can try go call code to do that like : [self.tableView reloadData]; or [self.myNetwork reloadNews];

vodkhang
+3  A: 

To add to the previous answer, you can do this in your app delegate's applicationWillBecomeForeground: method, which is called when your app is about to be returned to the foreground.

There's also the UIApplicationWillEnterForeground notification, which you can sign up for to allow any object (like a view controller, for example) to be notified when the app is about to return to the foreground. Either technique should get the desired effect.

Alex