Post

Replies

Boosts

Views

Activity

Reply to Request locations using CLLocationManager in Widget target on iOS 14
typo in widget_main.swift     var locationWrapper = LocationWrapper()     public func timeline(with context: Context, completion: @escaping (Timeline<SimpleEntry>) -> ()) {         if locationWrapper.location == nil {             locationManager.location = CLLocationManager()         }         locationWrapper.fetchLocation { location in             // call completion, update ui etc.         } }
Sep ’20