DarkMode in TimelineProvider How to find current traitCollection inside func getTimeline(in context: Context, completion: @escaping (Timeline<Entry>) -> Void) I need it for MKMapSnapshotter.Options().traitCollection when get snapshot from MKMapSnapshotter UI Frameworks UIKit MapKit UIKit WidgetKit 1 0 495 Oct ’20