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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Multitasking support is available from which version in iOS operating system?

959


What is meaning of 'nonatomic' keyword?

975


what’s accessibilityhint?

906


So how is the new look different from the old look?

820


What is delegate pattern in iOS?

962


Are ios developers in demand?

850


Define 'strong' keyword?

843


Explain the difference between inheritance and category?

962


Can my application have multiple models?

861


What is ios design?

824


What are the skills required for ios developer?

832


How to de-symbolicate crash log?

811


What ios version onwards arc can be used?

860


In which language is ios written?

868


Name the application thread from where uikit classes should be used?

1077