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

How do I get a call when my ipad rings?

0 Answers  


What language is ios based on?

0 Answers  


Explain xctest test case code.

0 Answers  


Can you please explain the difference between frame and bounds?

0 Answers  


What performance issues can you face when using coredata?

0 Answers  


Enlist the methods to achieve concurrency in ios?

0 Answers  


What does static analyser do?

0 Answers  


How do you setup/initialise a core data stack in your application? Is this activity performed on main thread? If not, why?

0 Answers  


What is ios viewdidload?

0 Answers  


What is called before viewdidload?

0 Answers  


Describe @objc inference?

0 Answers  


Does objective-c contain private methods?

0 Answers  


Categories