This commit is contained in:
2025-12-04 14:17:47 +08:00
parent 279255a14c
commit b8f8d2e6b0
4 changed files with 47 additions and 1 deletions

View File

@@ -236,6 +236,8 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
if (self.didFinishSelectBlock) {
self.didFinishSelectBlock();
}
// 使
[[NSUserDefaults standardUserDefaults] setInteger:self.selectedSex forKey:KBSexSelectedGenderKey];
[[NSUserDefaults standardUserDefaults] setBool:true forKey:KBSexSelectShownKey];
[[NSUserDefaults standardUserDefaults] synchronize];
}
@@ -246,6 +248,8 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
if (self.didFinishSelectBlock) {
self.didFinishSelectBlock();
}
// 使
[[NSUserDefaults standardUserDefaults] setInteger:self.selectedSex forKey:KBSexSelectedGenderKey];
[[NSUserDefaults standardUserDefaults] setBool:true forKey:KBSexSelectShownKey];
[[NSUserDefaults standardUserDefaults] synchronize];
}