I’m looking for a solution for a kind of in-app alarm feature, to be able to run the code in the iOS app (in my case, start playing the stream) at a selected time and date (or a date components, e.g. on specific days and at a given time). As far as I know, Local Notifications are not a solution because they require user interaction.
One very simple solution is to use a Timer, but here one can only set just a simple date and repeat interval. Additionally, the app must run either in the background or in the foreground (when it is killed by the system or by the user, timer won’t work).
My app has active remote notifications in the background, but this applies to push notifications from the server (it uses iCloud sync). Maybe it’s possible to use CloudKit and set background notifications directly in the application, which are then sent via iCloud, which would allow to run dedicated code?