UIApplication
public extension UIApplication
-
SwifterSwift: Application running environment.
- debug: Application is running in debug mode.
- testFlight: Application is installed from Test Flight.
- appStore: Application is installed from the App Store.
Declaration
Swift
enum Environment
-
SwifterSwift: Current inferred app environment.
Declaration
Swift
var inferredEnvironment: Environment { get }
-
SwifterSwift: Application name (if applicable).
Declaration
Swift
var displayName: String? { get }
-
SwifterSwift: App current build number (if applicable).
Declaration
Swift
var buildNumber: String? { get }
-
SwifterSwift: App’s current version number (if applicable).
Declaration
Swift
var version: String? { get }