add fgView

Stewen 2023-10-08 13:48:09 +08:00
parent dd962f21de
commit 752c8d0640
1 changed files with 5 additions and 1 deletions

View File

@ -90,7 +90,7 @@ static NSString *kUserAnnotationId = @"FATUserAnnotationViewId";
} }
///bgView ///bgView
UIView* bgView = [[UIView alloc] initWithFrame:self.view.bounds]; UIView* bgView = [[UIView alloc] initWithFrame:self.view.bounds];
bgView.backgroundColor = isDark ? UIColor.orangeColor : UIColor.orangeColor; bgView.backgroundColor = isDark ? UIColor.blackColor : UIColor.whiteColor;
[self.view addSubview:bgView]; [self.view addSubview:bgView];
self.view.backgroundColor = isDark ? UIColor.blackColor : UIColor.whiteColor; self.view.backgroundColor = isDark ? UIColor.blackColor : UIColor.whiteColor;
@ -172,6 +172,10 @@ static NSString *kUserAnnotationId = @"FATUserAnnotationViewId";
}); });
}; };
[self.view addSubview:self.slideView]; [self.view addSubview:self.slideView];
UIView* fgView = [[UIView alloc] initWithFrame:self.view.bounds];
fgView.backgroundColor = UIColor.greenColor;
[self.view addSubview:fgView];
} }
- (void)locationOnClick { - (void)locationOnClick {