I’m new to iPhone development. I’m building an app that loads data from a local sqlite3 DB in
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
When I tap the iPhone button and put it in the background and then I recall it I see (as normal) the app in the same way I left it. What I would like to do is, when it comes in the foreground, to reload data as if it was called from scratch.
Which is the correct way to do it?
Thanks in advance.
Reload the data in the above function of the app delegate to refresh the data when ever the app comes to foreground.