Post

Replies

Boosts

Views

Activity

Comment on WidgetKit API to take screenshot?
For Home Screen widgets. You're right, hard to imagine a way to do it in code, since the snapshot is just saved to an archive on disk. I was hoping it's possible in Xcode or something, but doesn't look like it. If anyone knows a way (either an external tool or some shenanigans) I would love to know. Just need it to capture some problem for internal use.
Jun ’23
Comment on Looking for a solution to replace UILocalNotifications
Thanks for the response. Implementing a server, with push notifications and scheduling, is a big task, so it would be really nice to have a work-around locally. One thing I wanted to ask ... is there a limit to how many UNCalendarNotificationTriggers we can setup in the app? With UILocalNotifications, there was some limit for 64 (or was it 128) notifications that could be scheduled at one time within an app. Does that limit also exist for User Notifications (if so , is it a higher limit than before)? If the notifications limit wasn't an issue, then one can theoretically schedule out calendar notifications to fire at each repeat interval, maybe for the next 5 repeat intervals, and then recalculate when the app is launched at some point.
Jun ’21