“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 |
Explain the difference between frame and bounds?
Explain your process for tracing and fixing a memory leak
What devices will support ios 7?
What is weak in ios?
What framework is used to construct application's ios user interface?
What is a memory leak in ios?
Does ios support multiple inheritance?
What does 2x resolution mean?
What is dynamic in iOS operating system?
What is core data stack?
Different types of persistent stores? Which all types can we have on ios?
Explain application sandboxing.