Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliessolved.tooltip
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.
}
}