“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 the difference between delegates and notifications in iOS operating system?
How to download images in ios?
Can you pass same core data objects between different threads and modify?
What is autorealease pool?
What coding language is used for ios apps?
What is core data stack?
What devices will support ios 7?
Will iphone 5s get ios 13?
What is the meaning of 'weak' keyword?
what is the difference between bounds and frame?
Differentiate between release and pool drain?
What is uiwindow in ios?