UIApplication$Methods extension

on

Properties

applicationIconBadgeNumber int

Available on UIApplication, provided by the UIApplication$Methods extension

applicationIconBadgeNumber
getter/setter pair
applicationState UIApplicationState

Available on UIApplication, provided by the UIApplication$Methods extension

applicationState
no setter
applicationSupportsShakeToEdit bool

Available on UIApplication, provided by the UIApplication$Methods extension

applicationSupportsShakeToEdit
getter/setter pair
backgroundRefreshStatus UIBackgroundRefreshStatus

Available on UIApplication, provided by the UIApplication$Methods extension

! When background refresh is available for an application, it may launched or resumed in the background to handle significant location changes, remote notifications, background fetches, etc. Observe UIApplicationBackgroundRefreshStatusDidChangeNotification to be notified of changes.
no setter
backgroundTimeRemaining double

Available on UIApplication, provided by the UIApplication$Methods extension

backgroundTimeRemaining
no setter
connectedScenes → NSSet

Available on UIApplication, provided by the UIApplication$Methods extension

connectedScenes
no setter
delegate UIApplicationDelegate?

Available on UIApplication, provided by the UIApplication$Methods extension

delegate
getter/setter pair
idleTimerDisabled bool

Available on UIApplication, provided by the UIApplication$Methods extension

isIdleTimerDisabled
getter/setter pair
ignoringInteractionEvents bool

Available on UIApplication, provided by the UIApplication$Methods extension

isIgnoringInteractionEvents
no setter
keyWindow UIWindow?

Available on UIApplication, provided by the UIApplication$Methods extension

keyWindow
no setter
networkActivityIndicatorVisible bool

Available on UIApplication, provided by the UIApplication$Methods extension

isNetworkActivityIndicatorVisible
getter/setter pair
openSessions → NSSet

Available on UIApplication, provided by the UIApplication$Methods extension

openSessions
no setter
preferredContentSizeCategory → NSString

Available on UIApplication, provided by the UIApplication$Methods extension

preferredContentSizeCategory
no setter
protectedDataAvailable bool

Available on UIApplication, provided by the UIApplication$Methods extension

isProtectedDataAvailable
no setter
statusBarFrame → CGRect

Available on UIApplication, provided by the UIApplication$Methods extension

statusBarFrame
no setter
statusBarHidden bool

Available on UIApplication, provided by the UIApplication$Methods extension

isStatusBarHidden
no setter
statusBarOrientation UIInterfaceOrientation

Available on UIApplication, provided by the UIApplication$Methods extension

statusBarOrientation
no setter
statusBarOrientationAnimationDuration double

Available on UIApplication, provided by the UIApplication$Methods extension

statusBarOrientationAnimationDuration
no setter
statusBarStyle UIStatusBarStyle

Available on UIApplication, provided by the UIApplication$Methods extension

statusBarStyle
no setter
supportsMultipleScenes bool

Available on UIApplication, provided by the UIApplication$Methods extension

supportsMultipleScenes
no setter
userInterfaceLayoutDirection UIUserInterfaceLayoutDirection

Available on UIApplication, provided by the UIApplication$Methods extension

userInterfaceLayoutDirection
no setter
windows → NSArray

Available on UIApplication, provided by the UIApplication$Methods extension

windows
no setter

Methods

beginBackgroundTaskWithExpirationHandler(ObjCBlock<Void Function()>? handler) int

Available on UIApplication, provided by the UIApplication$Methods extension

beginBackgroundTaskWithExpirationHandler:
beginBackgroundTaskWithName(NSString? taskName, {ObjCBlock<Void Function()>? expirationHandler}) int

Available on UIApplication, provided by the UIApplication$Methods extension

beginBackgroundTaskWithName:expirationHandler:
beginIgnoringInteractionEvents() → void

Available on UIApplication, provided by the UIApplication$Methods extension

beginIgnoringInteractionEvents
canOpenURL(NSURL url) bool

Available on UIApplication, provided by the UIApplication$Methods extension

canOpenURL:
endBackgroundTask(int identifier) → void

Available on UIApplication, provided by the UIApplication$Methods extension

endBackgroundTask:
endIgnoringInteractionEvents() → void

Available on UIApplication, provided by the UIApplication$Methods extension

endIgnoringInteractionEvents
init() UIApplication

Available on UIApplication, provided by the UIApplication$Methods extension

init
openURL(NSURL url) bool

Available on UIApplication, provided by the UIApplication$Methods extension

openURL:
openURL$1(NSURL url, {required NSDictionary options, ObjCBlock<Void Function(Bool)>? completionHandler}) → void

Available on UIApplication, provided by the UIApplication$Methods extension

openURL:options:completionHandler:
requestSceneSessionActivation(UISceneSession? sceneSession, {NSUserActivity? userActivity, UISceneActivationRequestOptions? options, ObjCBlock<Void Function(NSError)>? errorHandler}) → void

Available on UIApplication, provided by the UIApplication$Methods extension

requestSceneSessionActivation:userActivity:options:errorHandler:
requestSceneSessionDestruction(UISceneSession sceneSession, {UISceneDestructionRequestOptions? options, ObjCBlock<Void Function(NSError)>? errorHandler}) → void

Available on UIApplication, provided by the UIApplication$Methods extension

requestSceneSessionDestruction:options:errorHandler:
requestSceneSessionRefresh(UISceneSession sceneSession) → void

Available on UIApplication, provided by the UIApplication$Methods extension

requestSceneSessionRefresh:
sendAction(Pointer<ObjCSelector> action, {ObjCObjectBase? to, ObjCObjectBase? from, UIEvent? forEvent}) bool

Available on UIApplication, provided by the UIApplication$Methods extension

sendAction:to:from:forEvent:
sendEvent(UIEvent event) → void

Available on UIApplication, provided by the UIApplication$Methods extension

sendEvent:
setMinimumBackgroundFetchInterval(double minimumBackgroundFetchInterval) → void

Available on UIApplication, provided by the UIApplication$Methods extension

! The system guarantees that it will not wake up your application for a background fetch more frequently than the interval provided. Set to UIApplicationBackgroundFetchIntervalMinimum to be woken as frequently as the system desires, or to UIApplicationBackgroundFetchIntervalNever (the default) to never be woken for a background fetch.
supportedInterfaceOrientationsForWindow(UIWindow? window) UIInterfaceOrientationMask

Available on UIApplication, provided by the UIApplication$Methods extension

supportedInterfaceOrientationsForWindow: