Skip to content

Commit 0a340cf

Browse files
committed
Fix Transparent background on iOS
1 parent 7fa2f50 commit 0a340cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/Classes/MapboxMapController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ final class MapboxMapController: NSObject, FlutterPlatformView {
5757
.set(key: "com.mapbox.common.telemetry.internal.custom_user_agent_fragment", value: "FlutterPlugin/\(pluginVersion)")
5858

5959
mapView = MapView(frame: frame, mapInitOptions: mapInitOptions)
60+
mapView.isOpaque = false
6061
mapboxMap = mapView.mapboxMap
6162

6263
self.registrar = registrar

0 commit comments

Comments
 (0)