“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 to implement "load more" using nsfetchedresultscontroller?
Explain how you can add frameworks in Xcode project?
What is difference between unit tests and ui test in xcode?
Can a static library (.a) contain assets like pictures, sound documents and so on.?
What is inactive state in ios?
What is ipa?
what is singleton class? Why the whole application creates a single instance?
Have you uploaded app on appstore? What is the process?
What is the difference between synchronous & asynchronous task ?
What are the location services?
Is it safe to update to ios 13?
Differentiate ‘app id’ from ‘bundle id.’ Explain why they are used?