Learn Courses My Dashboard

Passing Data From App To Widget, Swift


I’m developing a widget for an app. I’ve tried to search how to do it but can’t find anything. How can you Have data pass from widget to app/app to widget without UIKit. This is because the whole app is coded with swift/swiftUI, not UIKit


Sadly we do not have a guide for creating widgets… our new courses are now built in SwiftUI though…

to pass data i guess you might need to create a URLScheme or app scheme so it will be able to “communicate” from app to app (or in this case widget to app)