Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
8ea2f362
Commit
8ea2f362
authored
Dec 28, 2023
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 条件编译代码
parent
04252921
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
20 deletions
+28
-20
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+28
-20
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
8ea2f362
...
...
@@ -8,6 +8,7 @@
import
UIKit
import
ESTabBarController_swift
import
IQKeyboardManagerSwift
import
SmartCodable
@main
class
AppDelegate
:
UIResponder
,
UIApplicationDelegate
{
...
...
@@ -49,10 +50,10 @@ extension AppDelegate {
//2、一键登录初始化
// TXCommonHandler.sharedInstance().setAuthSDKInfo(BsConstant.kAliOnePressPhoneLoginKey)
// TXCommonHandler.sharedInstance().setAuthSDKInfo(BsConstant.kAliOnePressPhoneLoginKey)
//3.微信登录初始化
// BsWxLoginManager.shared.doWxInit()
// BsWxLoginManager.shared.doWxInit()
//4.
IQKeyboardManager
.
shared
.
enable
=
true
...
...
@@ -60,7 +61,7 @@ extension AppDelegate {
IQKeyboardManager
.
shared
.
shouldResignOnTouchOutside
=
true
// 控制点击背景是否收起键盘
//webView 预加载
// BsWebViewPreloadManager.share.addPreloadingView()
// BsWebViewPreloadManager.share.addPreloadingView()
//
customAppearance
()
...
...
@@ -88,6 +89,13 @@ extension AppDelegate {
window
?
.
rootViewController
=
tabBarController
window
?
.
makeKeyAndVisible
()
window
?
.
backgroundColor
=
.
white
//处理数据解析
#if DEBUG
SmartConfig
.
debugMode
=
.
verbose
#else
SmartConfig
.
debugMode
=
.
none
#endif
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment