Tiny iOS docs fixes (#2803)
Co-authored-by: Bart Louwers <bart@emeel.net>
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user