Tuesday, 15 February 2011

xcode - How to make an iOS app, that perform function in the background with some interval? -



xcode - How to make an iOS app, that perform function in the background with some interval? -

i want create ios app, can every 5 minutes perform specific function. how it? function simple,

batter = 95; // calculated.. every time differ [uiapplication sharedapplication].applicationiconbadgenumber = batter;

i need create timer it, in background

you can't in background unless app fall in 1 of categories: voip, sound playback or location update. if places timers become invalids when application goes background.

ios xcode timer

No comments:

Post a Comment