File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Sources/d3-async-location/LocationManagerAsync+ Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,14 @@ public protocol ILocationManagerViewModel: ObservableObject{
79
79
| distanceFilter| A distance in meters from an existing location.|
80
80
| backgroundUpdates| A Boolean value that indicates whether the app receives location updates when running in the background|
81
81
82
+ ### Default location
83
+ 1 . Product > Scheme > Edit Scheme
84
+ 2 . Click Run .app
85
+ 3 . Option tab
86
+ 4 . Already checked Core Location > select your location
87
+ 5 . Press OK
88
+ ![ Default location] ( https://github.com/The-Igor/d3-async-location/blob/main/img/image6.png )
89
+
82
90
## SwiftUI example of using package
83
91
[ async-location-swift-example] ( https://github.com/The-Igor/async-location-swift-example )
84
92
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ extension LocationManagerAsync{
40
40
NotificationCenter . default. post ( name: Permission . authorizationStatus, object: manager. authorizationStatus)
41
41
}
42
42
43
+ func locationManager( _ manager: CLLocationManager , didFailWithError error: Error ) {
44
+ print ( error)
45
+ }
46
+
43
47
// MARK: - Private
44
48
45
49
/// Process termination
You can’t perform that action at this time.
0 commit comments