interested in solution for this too
Post
Replies
Boosts
Views
Activity
Is this possible on iPhone/IOS?
get any updated/feedback?
ok thanks - I tried move to using the MKMapCamera and not using userTrackingMode and this seems to work...
PS another way to ask this question might be - Within the view, how can I arrange for some code to be run each time a value within "newlocationManager" (which references the @Observable NewLocationManager instance) changes? (so within this code I can decided to update the Map position centering on this new location or not)
quite related I was hoping to user Camera to do this but got stuck so created separate ticket - https://developer.apple.com/forums/thread/744107#744107021
thanks heaps - I'll try this shortly..... Couple of quick questions if I may:
a) Is the new WWDC2013 "@Observable" approach I was trying to use not quite able to handle this by the way, re why you've had to go to ObservableObject?
b) In terms of moving to SwiftUI, then should SwiftUI "Map" be able to do all one needs? Or may there be cases where you would want to stay with the custom MKMapView but using UIViewRepresentable to bring it into SwiftUI