Commit 8ea2f362 authored by David黄金龙's avatar David黄金龙

添加 条件编译代码

parent 04252921
......@@ -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
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment