Answer Posted / babu
if you want to perform some long running in background you will do it with the help beginBackgroundTaskWithExpirationHandler:
Example:
bgTask = [app beginBackgroundTaskWithExpirationHandler:^{
[app endBackgroundTask:bgTask];
bgTask = UIBackgroundTaskInvalid;
}];
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What persistent storage core data uses to save data?
What is synchronous web request and asynchronous ?
Would I be able to keep in touch with some c++ work in the equivalent .m record? Will it compile? Assuming no, what changes would it be a good idea for me to do to compile it?
What is a serial queue?
What is mvc? Mvc architecture of iphone app.
How to implement "load more" using nsfetchedresultscontroller?
What is meaning of 'atomic' keyword?
What is a view controller in ios?
Why do we need to use @Synthesize in iOS operating system?
Do you know what is iphone sdk?
How to edit iphone code
What is onboarding and why is it so important for mobile design? : IOS Architect
Is realm db free?
What is nspersistentstore?
How to switch off predictive text?