From 9caab9ba9847639ea288fd718cb56255c4bb1494 Mon Sep 17 00:00:00 2001 From: mdaines <1383+mdaines@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:04:45 -0400 Subject: [PATCH] Tiny iOS docs fixes (#2803) Co-authored-by: Bart Louwers --- platform/ios/MapLibre.docc/GettingStarted.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/platform/ios/MapLibre.docc/GettingStarted.md b/platform/ios/MapLibre.docc/GettingStarted.md index 1c579d9644f..10701b0a903 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 +```