1
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
/// 2:配置国际化(统一使用集中管理的语言列表)
|
||||
[KBLocalizationManager shared].supportedLanguageCodes = KBDefaultSupportedLanguageCodes();
|
||||
/// 3 : 处理token问题
|
||||
// [[KBUserSessionManager shared] bootstrapIfNeeded];
|
||||
[[KBUserSessionManager shared] bootstrapIfNeeded];
|
||||
|
||||
|
||||
// 首次安装/升级:重置“完全访问”记录,避免继承旧安装遗留在 Keychain 中的状态
|
||||
@@ -54,12 +54,12 @@
|
||||
}
|
||||
|
||||
// 首次安装先进入性别选择页;点击 Skip 或确认后再进入主 TabBar
|
||||
// BOOL hasShownSexVC = [[NSUserDefaults standardUserDefaults] boolForKey:KBSexSelectShownKey];
|
||||
// if (hasShownSexVC) {
|
||||
// [self setupRootVC];
|
||||
// } else {
|
||||
BOOL hasShownSexVC = [[NSUserDefaults standardUserDefaults] boolForKey:KBSexSelectShownKey];
|
||||
if (hasShownSexVC) {
|
||||
[self setupRootVC];
|
||||
} else {
|
||||
[self setupSexSelectRootVC];
|
||||
// }
|
||||
}
|
||||
|
||||
// 主工程默认开启网络总开关(键盘扩展仍需用户允许完全访问后再行开启)
|
||||
[KBNetworkManager shared].enabled = YES;
|
||||
|
||||
Reference in New Issue
Block a user