Hi
I am new to objective-c and iPhone app development. Currently I've been faced with a problem that I'm not sure how to fix. The problem is that I want my app to completely close and release all data when the user presses the home button and then when the user reopens the app it refreshes the data from my online server. I am currently testing on the iPhone simulator and it seems that when the user reopens the program it reopens the old state and does not call the viewDidLoad
method to refresh the data nor it calls the -(void)applicationWillTerminate:(UIApplication *)application
when the user presses the home button.
Any suggestions??