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

Can you please explain the difference between frame and bounds?

0 Answers  


What are the benefits of swift over objective-c ?

0 Answers  


What is dynamic dispatch ios?

0 Answers  


How can mobile application errors be prevented?

0 Answers  


What is difference between shallow copy and deep copy in ios ? : IOS Architect

0 Answers  


What is iphone sdk?

0 Answers  


Explain how to delete images in ios?

0 Answers  


When dealing with property declarations, what is the difference between atomic and non-atomic?

0 Answers  


Why don’t we use strong for enum property in objective-c ?

0 Answers  


What are blocks in ios?

0 Answers  


What are transient properties?

0 Answers  


Explain shallow copying and depth copying.

1 Answers  


Categories