UIApplication
extension UIApplication: ApplicationService
-
Launches URL externally
Declaration
Swift
func launch(url: URL)Parameters
urlURL to launch
-
Route to reveal a Mappable in Locations
Declaration
Swift
func route(reveal mappable: Mappable)Parameters
mappableMappable to reveal
-
Route to show a Mappable in Locations
Declaration
Swift
func route(show mappable: Mappable)Parameters
mappableMappable to show
-
Route to an enumerated destination
Declaration
Swift
func route(to route: Route)Parameters
routeRoute case
-
End any editing in application
Declaration
Swift
func endEditing() -
Dismiss any presented controllers
Declaration
Swift
func dismissPresentations() -
Application version(build) string
Declaration
Swift
var version: String { get } -
Executing in background?
Declaration
Swift
var isBackground: Bool { get } -
Executing in foreground?
Declaration
Swift
var isForeground: Bool { get } -
Executing in production environment?
Declaration
Swift
static var isProduction: Bool { get } -
Executing in simulator?
Declaration
Swift
static var isSimulator: Bool { get } -
Executing under fastlane screenshotting?
Declaration
Swift
static var isTakingScreenshots: Bool { get } -
Executing in test enviroment?
Declaration
Swift
static var isTesting: Bool { get } -
Executing in UI test enviroment?
Declaration
Swift
static var isUITesting: Bool { get } -
Executing in unit test enviroment?
Declaration
Swift
static var isUnitTesting: Bool { get }
-
Development aid for clearing device cache
Declaration
Swift
static func clearLaunchScreenCache()
View on GitHub
UIApplication Extension Reference