From 835867a6d98136af666658fe0c1f5752d57fc68a Mon Sep 17 00:00:00 2001 From: Tim Gymnich Date: Mon, 11 Jan 2021 01:56:59 +0100 Subject: [PATCH] fix deprecation --- TUM Campus App/AppDelegate.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TUM Campus App/AppDelegate.swift b/TUM Campus App/AppDelegate.swift index 0c0b44f0..86895781 100644 --- a/TUM Campus App/AppDelegate.swift +++ b/TUM Campus App/AppDelegate.swift @@ -158,11 +158,11 @@ final class AppDelegate: UIResponder, UIApplicationDelegate { // MARK: - State restoration - func application(_ application: UIApplication, shouldSaveApplicationState coder: NSCoder) -> Bool { + func application(_ application: UIApplication, shouldSaveSecureApplicationState coder: NSCoder) -> Bool { return true } - func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -> Bool { + func application(_ application: UIApplication, shouldRestoreSecureApplicationState coder: NSCoder) -> Bool { return true }