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 the difference between delegates and notifications in iOS operating system?

0 Answers   B-Ways TecnoSoft,


How to download images in ios?

0 Answers  


Can you pass same core data objects between different threads and modify?

0 Answers  


What is autorealease pool?

0 Answers  


What coding language is used for ios apps?

0 Answers  


What is core data stack?

0 Answers  


What devices will support ios 7?

0 Answers  


Will iphone 5s get ios 13?

0 Answers  


What is the meaning of 'weak' keyword?

0 Answers  


what is the difference between bounds and frame?

0 Answers  


Differentiate between release and pool drain?

0 Answers  


What is uiwindow in ios?

0 Answers  


Categories