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 @dynamic in objective-c ?

0 Answers  


What is ios application?

0 Answers  


What is mvp in ios?

0 Answers  


Explain ~/documents, ~/library, ~/tmp. What directory is ~ on ios?

0 Answers  


How can we achieve singleton pattern in iOS?

0 Answers   Winsol Solutions,


When can you get ios 13?

0 Answers  


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

0 Answers  


 An app is loaded into memory but is not executing any code. In which state will be in?

1 Answers  


What are ibeacons in ios? : IOS Architect

0 Answers  


How to download something from the internet?

0 Answers  


Whats the difference between frame and bounds?

1 Answers  


Does ios support multiple inheritance?

0 Answers  


Categories