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
Multitasking support is available from which version in iOS operating system?
What is meaning of 'nonatomic' keyword?
what’s accessibilityhint?
So how is the new look different from the old look?
What is delegate pattern in iOS?
Are ios developers in demand?
Define 'strong' keyword?
Explain the difference between inheritance and category?
Can my application have multiple models?
What is ios design?
What are the skills required for ios developer?
How to de-symbolicate crash log?
What ios version onwards arc can be used?
In which language is ios written?
Name the application thread from where uikit classes should be used?