Posts

Post marked as solved
1 Replies
6.3k Views
Just getting started with SwiftUI and still getting to grips with the MVI model.I have a GoogleMapsView in a ContentView. Using the CLLocationManager I capture events in the AppDelegate (or SceneDelegate) class by means of extending them with CLLocationManagerDelegate.How can I invoke a method in the GoogleMapsView from the AppDelegate (or SceneDelegate)? In this instance I want to call the .animate method when the location change event is sent to the AppDelegate instance via the (CLLocationManagerDelegate), but the question is really more generic.
Posted Last updated
.