“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 |
How do I get a call when my ipad rings?
What language is ios based on?
Explain xctest test case code.
Can you please explain the difference between frame and bounds?
What performance issues can you face when using coredata?
Enlist the methods to achieve concurrency in ios?
What does static analyser do?
How do you setup/initialise a core data stack in your application? Is this activity performed on main thread? If not, why?
What is ios viewdidload?
What is called before viewdidload?
Describe @objc inference?
Does objective-c contain private methods?