When application enters in background the compiler stop working and it has to wait till application enter foreground.
Use following code to compile some of your code even when application is in background
bgTask = [application beginBackgroundTaskWithExpirationHandler:^{
}];
Dispatch async will awake all the async method which you have to compile in background.
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
}
Hope this information help you...
0 Comment(s)