Ios swift – View not reflecting data coming from User Defaults
I have created a singleton class called AppSecurityStore which currently only holds a boolean property to store a setting value. final class AppSecurityStore { static let shared = AppSecurityStore() private init() { } var isAppLockEnabled: Bool { get { UserDefaults.standard.bool(forKey:…