Is it possible to use an @available(iOS 13) computed property in a class that runs on iOS 12?
问题 The answer here: https://stackoverflow.com/a/51250282/1343140 says that it should be possible to have a lazy var be marked @available to higher a iOS version than used at runtime. I am working on some code where if the user is on iOS 13 their data is encrypted (because it's stored in the cloud). In iOS 12 their data is stored locally and not encrypted. Here is a simplified version of what I am doing: import CryptoKit import Foundation class DataStore { @available(iOS 13.0, *) fileprivate lazy