用快速语言在appdelegate中发生内存泄漏

时间:2017-02-17 06:19:51

标签: swift3 appdelegate

请修复我关于内存泄漏的问题我有app代理中的泄漏,我不知道我何时以及如何解决它? 我的代码的以下部分是从仪器泄漏的,我必须从app delegate中释放它吗?

class AppDelegate: UIResponder, UIApplicationDelegate {
   var window: UIWindow?
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        UIApplication.shared.statusBarStyle = .lightContent
        UITabBar.appearance().tintColor = UIColor.white

        return true
    }

}

非常感谢

0 个答案:

没有答案
相关问题