Post

Replies

Boosts

Views

Activity

Reply to SwiftUI creating MapCameraPosition from CLLocationManager initialiser/self error when trying to tie them? (see code)
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)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’24
Reply to how to update SwiftUI Map via MapCamera approach with data from @Observable? (see code)
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
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’24
Reply to Accessing external files on iPadOS
Is this possible on iPhone/IOS?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to SwiftUI toolbar disappears after navigation on iOS
get any updated/feedback?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to How to prevent auto-zooming with IOS MapKit when using userTrackingMode = .followWithHeading? (using SwiftUI)
ok thanks - I tried move to using the MKMapCamera and not using userTrackingMode and this seems to work...
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to SwiftUI creating MapCameraPosition from CLLocationManager initialiser/self error when trying to tie them? (see code)
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)
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to SwiftUI - Adjust Map() scale/zoom
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
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to how to update SwiftUI Map via MapCamera approach with data from @Observable? (see code)
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
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24