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

Explain what is iphone architecture?

0 Answers  


What are the benefits of ios?

0 Answers  


What happens when we invoke a method on a nil pointer?

0 Answers  


What are selectors in objective-c?

0 Answers  


. Apart from incorporating views and controls, what else an app can incorporate?

1 Answers  


what are the build phases available in Xcode?

0 Answers  


What is posing in iOS?

1 Answers   B-Ways TecnoSoft,


What is difference between weak and strong in ios?

0 Answers  


What is a background thread?

0 Answers  


What is meaning of 'atomic' keyword?

0 Answers  


What is the full meaning of ios?

0 Answers  


Why do we use synchronized ?

0 Answers  


Categories