diff --git a/platform/ios/MapLibre.docc/GettingStarted.md b/platform/ios/MapLibre.docc/GettingStarted.md index 1c579d964..10701b0a9 100644 --- a/platform/ios/MapLibre.docc/GettingStarted.md +++ b/platform/ios/MapLibre.docc/GettingStarted.md @@ -45,14 +45,13 @@ struct SimpleMap: UIViewRepresentable { } ``` -You can use this view directly in a SwiftUI View hierarcy, for example: +You can use this view directly in a SwiftUI View hierarchy, for example: ```swift struct MyApp: App { - var body: some Scene { WindowGroup { - MapLibreMapView().edgesIgnoringSafeArea(.all) + SimpleMap().edgesIgnoringSafeArea(.all) } } } @@ -84,4 +83,4 @@ class SimpleMap: UIViewController, MLNMapViewDelegate { func mapView(_: MLNMapView, didFinishLoading _: MLNStyle) { } } -``` \ No newline at end of file +```