Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


“BgTask “ ? how long execute?



“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

Post New Answer

More Apple iOS Interview Questions

What is a serial queue?

0 Answers  


What is onboarding and why is it so important for mobile design? : IOS Architect

0 Answers  


Difference between coredata & sqlite?

0 Answers  


What is swift and what is objective-c?

0 Answers  


Explain difference between nil and nil?

0 Answers  


What is a fault?

0 Answers  


What is ios realm?

0 Answers  


What makes react native special for ios?

0 Answers  


What are lifecycle events of uiviewcontroller?

0 Answers  


Do you know what is iphone reference library?

0 Answers  


How can we achieve singleton pattern in iOS?

0 Answers   Winsol Solutions,


Why do we override drawrect: method? How to explicitly call it?

0 Answers  


Categories