Combining SwiftUI and UIKit, AppClips and Widgets
summary
Shows how to embed App Clips and Widgets into a UIKit app by mixing SwiftUI and UIKit, with concrete tradeoffs: App Clips must fit a 10 MB limit, use userActivity to route to specific controllers, disallow SPM and some frameworks (no CloudKit, speech continuous location), and can reuse app code with conditional branches. Widgets require SwiftUI, are stateless, and often need image snapshots instead of UIViewRepresentable; practical fixes include MKMapSnapshotter, Google Static Maps URLs, URLSession image loading and forcing a WidgetKit timeline provider reload to display updated images.
AI-written summary · about
chapters (7)
- 0:00Start
- 11:23Why Should We Use Safety Ui
- 15:21Widgets
- 16:29Specialities and Limitations of Wishes in Ios 14
- 18:24Maps
- 18:59Google Map
- 31:38Summary








