Rabih Sarieddine
Rabih Sarieddine

Reputation: 161

Xamarin - IOS: sending a web request every N minutes even when the phone is locked or sleeping

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

Answers (0)

Related Questions