Skip to content

Commit

Permalink
Tiny iOS docs fixes (#2803)
Browse files Browse the repository at this point in the history
Co-authored-by: Bart Louwers <[email protected]>
  • Loading branch information
mdaines and louwers authored Sep 11, 2024
1 parent a0580a6 commit 9caab9b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions platform/ios/MapLibre.docc/GettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down Expand Up @@ -84,4 +83,4 @@ class SimpleMap: UIViewController, MLNMapViewDelegate {
func mapView(_: MLNMapView, didFinishLoading _: MLNStyle) {
}
}
```
```

0 comments on commit 9caab9b

Please sign in to comment.