Post

Replies

Boosts

Views

Activity

Reply to Potential memory leaks in CLLocationUpdate.Updates
Since WatchOS11 I also experience this. Only by setting the newLocation to my Published var location will cause the leak. inline-code func update(newLocation: CLLocation){ // print("new location (location)") if (self.locationFix == false) { self.locationFix = true } location = newLocation func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { if let location = locations.last { self.update(newLocation: location) } }
Oct ’24
Reply to Potential memory leaks in CLLocationUpdate.Updates
Since WatchOS11 I also experience this. Only by setting the newLocation to my Published var location will cause the leak. inline-code func update(newLocation: CLLocation){ // print("new location (location)") if (self.locationFix == false) { self.locationFix = true } location = newLocation func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { if let location = locations.last { self.update(newLocation: location) } }
Replies
Boosts
Views
Activity
Oct ’24
Reply to Watch app doesn't receive location updates on watchOS 10 beta
I am still experiencing this issue with the latest Beta. I'm getting 1 star reviews which is very annoying.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23