Reputation: 161
i have been looking unsuccessfully on trying to effectively schedule a task on IOS which needs to run every N minutes. Typically in Android, you can achieve this my using the AlarmManager and the setAlarmClock method which will be called even if the phone is dozing/sleeping and it works like a charm. In IOS i have found something close but the problem is that you cannot execute the code you want. Basically you can play alarm sound. I need to have the possibility to send a webrequest to a central server every N minutes even if the IPhone is sleeping.
Is it possible?
Thank you for your time
Upvotes: 0
Views: 133