Page MenuHomePhabricator

Implement Nearby articles widget for iOS 14
Closed, DeclinedPublic

Description

see parent task for details

Related Objects

StatusSubtypeAssignedTask
OpenNone
Resolvedcmadeo
DeclinedNone

Event Timeline

As of iOS 14, there's a native SwiftUI Map (MapKit), but as of iOS 15 widgets still do not support using it directly. Apple's recommendation for displaying maps in the new style widget is utilizing a MKMapSnapshotter in the main app to create an image of the map, then just displaying the image in the widget.

Some of our complications will be managing and rendering the custom annotations, but from a technical standpoint it appears we have a path forward for this widget.