修复bug

This commit is contained in:
liyuhua
2023-09-27 23:28:00 +08:00
parent b1fe469578
commit 60de0b9efe
2 changed files with 6 additions and 11 deletions

View File

@@ -90,6 +90,9 @@ NSString * const HadAgreePrivacy = @"HadAgreePrivacy";
- (void)createUI {
self.view.backgroundColor = [UIColor whiteColor];
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
[defaults setObject:@"hadAgree" forKey:HadAgreePrivacy];
[defaults synchronize];
[self.view addSubview:self.bgImageView];
[self.view addSubview:self.logoView];
[self.view addSubview:self.stackView];