“BgTask “ ? how long execute?
Answer / 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 |
Can you please explain the difference between frame and bounds?
What are the benefits of swift over objective-c ?
What is dynamic dispatch ios?
How can mobile application errors be prevented?
What is difference between shallow copy and deep copy in ios ? : IOS Architect
What is iphone sdk?
Explain how to delete images in ios?
When dealing with property declarations, what is the difference between atomic and non-atomic?
Why don’t we use strong for enum property in objective-c ?
What are blocks in ios?
What are transient properties?
Explain shallow copying and depth copying.