I wish the Calendar app had a Control Center button that showed the current date. I suppose I could build it myself now.

Prototyped the Control Center button I’d like. It’s dead simple.

Now, will iOS actually refresh my control often enough for this to provide utility? I doubt it, but I will find out through testing. If not, I’ll have to update it through push notifications, and I probably don’t want to go down that route.

My Control Center button didn't update the date it displays during the night. It wasn't updated until I interacted with the button. So, having this ControlValueProvider isn't enough for it to update its value periodically. I guess I'll need to send the device a push notification every hour or so to have the date updated.

Can't seem to get a Cloudflare Worker to make a request to APNS. I keep getting "Network connection lost". I've already wasted an hour trying to figure out why it refuses to connect to APNS. Maybe it's not communicating via HTTP2?

Anyway, this might be the end of this little project. I can't justify pouring hours upon hours into it.

@simonbs I couldn’t get this to work either. I instead used AWS Lambda. Works reliably from there.
@nikhil Good to know I'm not the only one who's been struggling with this. I'm not really up for tackling the complexity of AWS right now 😄

@simonbs completely understand.

Should you take this up in the future, that’s the way to go.