请修复我关于内存泄漏的问题我有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
}
}
非常感谢