I am developing an iOS application in which I am updating my database content from a web service.
But when the user kills the application and starts it again then I want to resume my web service method.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
As I think , you want to update your database As you application launches again.
Then you can use
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptionsOf AppDelegate
which is called every time an application launches.
If you want it for some specific viewController you can add the method in viewWillAppear block