Post

Replies

Boosts

Views

Activity

Link Without Launching App
I'd like to create a widget with a button that launches a background task, but it seems links always bring the app to the foreground. However, since the Shortcuts and Siri widgets do not do this, I'm thinking there might be something I've missed. Or are these special cases? Maybe if I can't run arbitrary tasks I can run shortcuts?
0
0
408
Jun ’20
Vibrant Background?
Was hoping setting the background of my widget to .clear would give me the vibrancy seen in many of the system widgets such as Shortcuts for free, but looks like it falls back to .systemBackground. Is there an easy way to get this effect given SwiftUI doesn't provide an analog to UIVisualEffectView?
0
0
492
Jun ’20
Today Extensions Deprecated?
Looking forward to watching more sessions, but hoping to get a quick question answered: has my today extension reached the end of its life? It operates like a mini-app, which is specifically discouraged in new widgets and it appears not even possible. I have not yet launched Xcode 12 but in the iOS 14 beta I see my app containing the extension does not show up when trying to add a widget to my home screen. The app extension guide states: "For example [...] perform a quick task such as marking an item as done." The Reminders widget seems to confirm that even this is not possible. So to summarize: Are Today Extensions no longer available in iOS 14? Can you add UIControls to WidgetKit widgets or only links? Thanks!
13
0
9.3k
Jun ’20