“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 |
What is a serial queue?
What is onboarding and why is it so important for mobile design? : IOS Architect
Difference between coredata & sqlite?
What is swift and what is objective-c?
Explain difference between nil and nil?
What is a fault?
What is ios realm?
What makes react native special for ios?
What are lifecycle events of uiviewcontroller?
Do you know what is iphone reference library?
How can we achieve singleton pattern in iOS?
Why do we override drawrect: method? How to explicitly call it?