diff --git a/ios/Classes/FinAppletExt/Common/Util/Map/FATMapViewController.m b/ios/Classes/FinAppletExt/Common/Util/Map/FATMapViewController.m index f36d987..f258e33 100644 --- a/ios/Classes/FinAppletExt/Common/Util/Map/FATMapViewController.m +++ b/ios/Classes/FinAppletExt/Common/Util/Map/FATMapViewController.m @@ -88,6 +88,11 @@ static NSString *kUserAnnotationId = @"FATUserAnnotationViewId"; if (@available(iOS 12.0, *)) { isDark = (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark); } + ///bgView + UIView* bgView = [[UIView alloc] initWithFrame:self.view.bounds]; + bgView.backgroundColor = isDark ? UIColor.blackColor : UIColor.whiteColor; + [self.view addSubview:bgView]; + self.view.backgroundColor = isDark ? UIColor.blackColor : UIColor.whiteColor; [self.view addSubview:self.mapView]; self.mapView.frame = CGRectMake(0, 0, fatKScreenWidth, fatKScreenHeight - 200);