I have the iOS app on Swift (UIKit).
Let's say I have the next array: ["a","b","c","d","e","f","g","j","h","k"]
I would like to:
- fire notification every 1 hour,
- notification should take a random letter from array and fire it as a text inside notification.
While implementing that I came across with the next issues:
- local notifications fire well (every one hour), but I can't change inner text dynamically;
- push notifications (that use CloudKit database) are able to throw only if there is one of events: add/edit/delete record in CloudKit database.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…