One Logo Pool Ball
UIKit · IOS API REFERENCE

UIApplication

class · iOS 2.0+ · SDK 27.1

@MainActor class UIApplication

Members (109)

get · iOS 7.0+

backgroundFetchIntervalMinimum

TypeScript
static get backgroundFetchIntervalMinimum(): Promise<number>
Swift declaration
class let backgroundFetchIntervalMinimum: TimeInterval
get · iOS 7.0+

backgroundFetchIntervalNever

TypeScript
static get backgroundFetchIntervalNever(): Promise<number>
Swift declaration
class let backgroundFetchIntervalNever: TimeInterval
get · iOS 7.0+

backgroundRefreshStatusDidChangeNotification

TypeScript
static get backgroundRefreshStatusDidChangeNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let backgroundRefreshStatusDidChangeNotification: NSNotification.Name
get

didBecomeActiveNotification

TypeScript
static get didBecomeActiveNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let didBecomeActiveNotification: NSNotification.Name
get · iOS 2.0+ · Deprecated in iOS 13.0

didChangeStatusBarFrameNotification

TypeScript
static get didChangeStatusBarFrameNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let didChangeStatusBarFrameNotification: NSNotification.Name
get · iOS 2.0+ · Deprecated in iOS 13.0

didChangeStatusBarOrientationNotification

TypeScript
static get didChangeStatusBarOrientationNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let didChangeStatusBarOrientationNotification: NSNotification.Name
get · iOS 4.0+

didEnterBackgroundNotification

TypeScript
static get didEnterBackgroundNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let didEnterBackgroundNotification: NSNotification.Name
get

didFinishLaunchingNotification

TypeScript
static get didFinishLaunchingNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let didFinishLaunchingNotification: NSNotification.Name
get

didReceiveMemoryWarningNotification

TypeScript
static get didReceiveMemoryWarningNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let didReceiveMemoryWarningNotification: NSNotification.Name
get · iOS 6.0+

invalidInterfaceOrientationException

TypeScript
static get invalidInterfaceOrientationException(): Promise<_Foundation_NSExceptionName>
Swift declaration
class let invalidInterfaceOrientationException: NSExceptionName
get · iOS 18.3+

openDefaultApplicationsSettingsURLString

TypeScript
static get openDefaultApplicationsSettingsURLString(): Promise<string>
Swift declaration
nonisolated class let openDefaultApplicationsSettingsURLString: String
get · iOS 8.0+

openSettingsURLString

TypeScript
static get openSettingsURLString(): Promise<string>
Swift declaration
nonisolated class let openSettingsURLString: String
get · iOS 4.0+

protectedDataDidBecomeAvailableNotification

TypeScript
static get protectedDataDidBecomeAvailableNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let protectedDataDidBecomeAvailableNotification: NSNotification.Name
get · iOS 4.0+

protectedDataWillBecomeUnavailableNotification

TypeScript
static get protectedDataWillBecomeUnavailableNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let protectedDataWillBecomeUnavailableNotification: NSNotification.Name
get

significantTimeChangeNotification

TypeScript
static get significantTimeChangeNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let significantTimeChangeNotification: NSNotification.Name
get · iOS 6.0+

stateRestorationBundleVersionKey

TypeScript
static get stateRestorationBundleVersionKey(): Promise<string>
Swift declaration
class let stateRestorationBundleVersionKey: String
get · iOS 7.0+

stateRestorationSystemVersionKey

TypeScript
static get stateRestorationSystemVersionKey(): Promise<string>
Swift declaration
class let stateRestorationSystemVersionKey: String
get · iOS 7.0+

stateRestorationTimestampKey

TypeScript
static get stateRestorationTimestampKey(): Promise<string>
Swift declaration
class let stateRestorationTimestampKey: String
get · iOS 6.0+

stateRestorationUserInterfaceIdiomKey

TypeScript
static get stateRestorationUserInterfaceIdiomKey(): Promise<string>
Swift declaration
class let stateRestorationUserInterfaceIdiomKey: String
get · iOS 2.0+ · Deprecated in iOS 13.0

statusBarFrameUserInfoKey

TypeScript
static get statusBarFrameUserInfoKey(): Promise<string>
Swift declaration
nonisolated class let statusBarFrameUserInfoKey: String
get · iOS 2.0+ · Deprecated in iOS 13.0

statusBarOrientationUserInfoKey

TypeScript
static get statusBarOrientationUserInfoKey(): Promise<string>
Swift declaration
nonisolated class let statusBarOrientationUserInfoKey: String
get · iOS 27.0+

systemPrefersReducedResourceUsageDidChangeNotification

TypeScript
static get systemPrefersReducedResourceUsageDidChangeNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let systemPrefersReducedResourceUsageDidChangeNotification: NSNotification.Name
get · iOS 7.0+

userDidTakeScreenshotNotification

TypeScript
static get userDidTakeScreenshotNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let userDidTakeScreenshotNotification: NSNotification.Name
get · iOS 2.0+ · Deprecated in iOS 13.0

willChangeStatusBarFrameNotification

TypeScript
static get willChangeStatusBarFrameNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let willChangeStatusBarFrameNotification: NSNotification.Name
get · iOS 2.0+ · Deprecated in iOS 13.0

willChangeStatusBarOrientationNotification

TypeScript
static get willChangeStatusBarOrientationNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let willChangeStatusBarOrientationNotification: NSNotification.Name
get · iOS 4.0+

willEnterForegroundNotification

TypeScript
static get willEnterForegroundNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let willEnterForegroundNotification: NSNotification.Name
get

willResignActiveNotification

TypeScript
static get willResignActiveNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let willResignActiveNotification: NSNotification.Name
get

willTerminateNotification

TypeScript
static get willTerminateNotification(): Promise<_Foundation_NSNotification_Name>
Swift declaration
nonisolated class let willTerminateNotification: NSNotification.Name
get · iOS 6.0+

stateRestorationViewControllerStoryboardKey

TypeScript
static get stateRestorationViewControllerStoryboardKey(): Promise<string>
Swift declaration
class let stateRestorationViewControllerStoryboardKey: String
static · iOS 7.0+

registerObject

TypeScript
static registerObject(object: Implements<UIStateRestoring> | SDKHandle, restorationIdentifier: string): Promise<void>
Swift declaration
class func registerObject(forStateRestoration object: any UIStateRestoring, restorationIdentifier: String)
get · iOS 2.0+

shared

TypeScript
static get shared(): Promise<UIApplication>
Swift declaration
class var shared: UIApplication { get }
method · iOS 4.0+

beginBackgroundTask

TypeScript
beginBackgroundTaskExpirationHandler(handler?: ((() => void)) | null): Promise<UIBackgroundTaskIdentifier>
Swift declaration
nonisolated func beginBackgroundTask(expirationHandler handler: (@MainActor @Sendable () -> Void)? = nil) -> UIBackgroundTaskIdentifier
method · iOS 7.0+

beginBackgroundTask

TypeScript
beginBackgroundTaskWithNameExpirationHandler(taskName?: (string) | null, handler?: ((() => void)) | null): Promise<UIBackgroundTaskIdentifier>
Swift declaration
nonisolated func beginBackgroundTask(withName taskName: String?, expirationHandler handler: (@MainActor @Sendable () -> Void)? = nil) -> UIBackgroundTaskIdentifier
method · iOS 2.0+ · Deprecated in iOS 13.0

beginIgnoringInteractionEvents

TypeScript
beginIgnoringInteractionEvents(): Promise<void>
Swift declaration
func beginIgnoringInteractionEvents()
method · iOS 4.0+

beginReceivingRemoteControlEvents

TypeScript
beginReceivingRemoteControlEvents(): Promise<void>
Swift declaration
func beginReceivingRemoteControlEvents()
method · iOS 3.0+ · Deprecated in iOS 27.0

canOpenURL

TypeScript
canOpenURL(url: string): Promise<boolean>
Swift declaration
nonisolated func canOpenURL(_ url: URL) -> Bool
method · iOS 4.0+ · Deprecated in iOS 10.0

cancelAllLocalNotifications

TypeScript
cancelAllLocalNotifications(): Promise<void>
Swift declaration
func cancelAllLocalNotifications()
method · iOS 4.0+ · Deprecated in iOS 10.0

cancelLocalNotification

TypeScript
cancelLocalNotification(notification: UILocalNotification): Promise<void>
Swift declaration
func cancelLocalNotification(_ notification: UILocalNotification)
method · iOS 4.0+ · Deprecated in iOS 9.0

clearKeepAliveTimeout

TypeScript
clearKeepAliveTimeout(): Promise<void>
Swift declaration
func clearKeepAliveTimeout()
method · iOS 6.0+

completeStateRestoration

TypeScript
completeStateRestoration(): Promise<void>
Swift declaration
func completeStateRestoration()
method · iOS 3.0+ · Deprecated in iOS 8.0

enabledRemoteNotificationTypes

TypeScript
enabledRemoteNotificationTypes(): Promise<UIRemoteNotificationType>
Swift declaration
func enabledRemoteNotificationTypes() -> UIRemoteNotificationType
method · iOS 4.0+

endBackgroundTask

TypeScript
endBackgroundTask(identifier: UIBackgroundTaskIdentifier): Promise<void>
Swift declaration
nonisolated func endBackgroundTask(_ identifier: UIBackgroundTaskIdentifier)
method · iOS 2.0+ · Deprecated in iOS 13.0

endIgnoringInteractionEvents

TypeScript
endIgnoringInteractionEvents(): Promise<void>
Swift declaration
func endIgnoringInteractionEvents()
method · iOS 4.0+

endReceivingRemoteControlEvents

TypeScript
endReceivingRemoteControlEvents(): Promise<void>
Swift declaration
func endReceivingRemoteControlEvents()
method · iOS 6.0+

extendStateRestoration

TypeScript
extendStateRestoration(): Promise<void>
Swift declaration
func extendStateRestoration()
method · iOS 7.0+

ignoreSnapshotOnNextApplicationLaunch

TypeScript
ignoreSnapshotOnNextApplicationLaunch(): Promise<void>
Swift declaration
func ignoreSnapshotOnNextApplicationLaunch()
init

init

TypeScript
static init(): Promise<UIApplication>
Swift declaration
init()
method · iOS 2.0+ · Deprecated in iOS 10.0

openURL

TypeScript
openURL(url: string): Promise<boolean>
Swift declaration
func openURL(_ url: URL) -> Bool
method · iOS 10.0+

open

TypeScript
open(url: string, options?: NativeMap<UIApplication_OpenExternalURLOptionsKey, unknown>, completion?: (((arg0: boolean) => void)) | null): Promise<void>
Swift declaration
func open(_ url: URL, options: [UIApplication.OpenExternalURLOptionsKey : Any] = [:]) async -> Bool
method · iOS 4.0+ · Deprecated in iOS 10.0

presentLocalNotificationNow

TypeScript
presentLocalNotificationNow(notification: UILocalNotification): Promise<void>
Swift declaration
func presentLocalNotificationNow(_ notification: UILocalNotification)
method · iOS 3.0+ · Deprecated in iOS 8.0

registerForRemoteNotifications

TypeScript
registerForRemoteNotificationsMatching(types: UIRemoteNotificationType): Promise<void>
Swift declaration
func registerForRemoteNotifications(matching types: UIRemoteNotificationType)
method · iOS 8.0+

registerForRemoteNotifications

TypeScript
registerForRemoteNotifications(): Promise<void>
Swift declaration
func registerForRemoteNotifications()
method · iOS 8.0+ · Deprecated in iOS 10.0

registerUserNotificationSettings

TypeScript
registerUserNotificationSettings(notificationSettings: UIUserNotificationSettings): Promise<void>
Swift declaration
func registerUserNotificationSettings(_ notificationSettings: UIUserNotificationSettings)
method · iOS 13.0+ · Deprecated in iOS 100000.0

requestSceneSessionActivation

TypeScript
requestSceneSessionActivation(sceneSession?: (UISceneSession) | null, userActivity?: (_Foundation_NSUserActivity) | null, options?: (UIScene_ActivationRequestOptions) | null, errorHandler?: (((arg0: NativeError) => void)) | null): Promise<void>
Swift declaration
func requestSceneSessionActivation(_ sceneSession: UISceneSession?, userActivity: NSUserActivity?, options: UIScene.ActivationRequestOptions?, errorHandler: ((any Error) -> Void)? = nil)
method · iOS 13.0+

requestSceneSessionDestruction

TypeScript
requestSceneSessionDestruction(sceneSession: UISceneSession, options?: (UISceneDestructionRequestOptions) | null, errorHandler?: (((arg0: NativeError) => void)) | null): Promise<void>
Swift declaration
func requestSceneSessionDestruction(_ sceneSession: UISceneSession, options: UISceneDestructionRequestOptions?, errorHandler: ((any Error) -> Void)? = nil)
method · iOS 13.0+

requestSceneSessionRefresh

TypeScript
requestSceneSessionRefresh(sceneSession: UISceneSession): Promise<void>
Swift declaration
func requestSceneSessionRefresh(_ sceneSession: UISceneSession)
method · iOS 4.0+ · Deprecated in iOS 10.0

scheduleLocalNotification

TypeScript
scheduleLocalNotification(notification: UILocalNotification): Promise<void>
Swift declaration
func scheduleLocalNotification(_ notification: UILocalNotification)
method · iOS 2.0+

sendEvent

TypeScript
sendEvent(event: UIEvent): Promise<void>
Swift declaration
func sendEvent(_ event: UIEvent)
method · iOS 10.3+

setAlternateIconName

TypeScript
setAlternateIconName(alternateIconName?: (string) | null, completionHandler?: (((arg0: (NativeError) | null) => void)) | null): Promise<void>
Swift declaration
func setAlternateIconName(_ alternateIconName: String?) async throws
method · iOS 4.0+ · Deprecated in iOS 9.0

setKeepAliveTimeout

TypeScript
setKeepAliveTimeout(timeout: number, keepAliveHandler?: ((() => void)) | null): Promise<boolean>
Swift declaration
func setKeepAliveTimeout(_ timeout: TimeInterval, handler keepAliveHandler: (() -> Void)? = nil) -> Bool
method · iOS 7.0+ · Deprecated in iOS 13.0

setMinimumBackgroundFetchInterval

TypeScript
setMinimumBackgroundFetchInterval(minimumBackgroundFetchInterval: number): Promise<void>
Swift declaration
func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: TimeInterval)
method · iOS 5.0+ · Deprecated in iOS 9.0

setNewsstandIconImage

TypeScript
setNewsstandIconImage(image?: (UIImage) | null): Promise<void>
Swift declaration
func setNewsstandIconImage(_ image: UIImage?)
method · iOS 3.2+ · Deprecated in iOS 9.0

setStatusBarHidden

TypeScript
setStatusBarHidden(hidden: boolean, animation: UIStatusBarAnimation): Promise<void>
Swift declaration
func setStatusBarHidden(_ hidden: Bool, with animation: UIStatusBarAnimation)
method · iOS 2.0+ · Deprecated in iOS 9.0

setStatusBarOrientation

TypeScript
setStatusBarOrientation(interfaceOrientation: UIInterfaceOrientation, animated: boolean): Promise<void>
Swift declaration
func setStatusBarOrientation(_ interfaceOrientation: UIInterfaceOrientation, animated: Bool)
method · iOS 2.0+ · Deprecated in iOS 9.0

setStatusBarStyle

TypeScript
setStatusBarStyle(statusBarStyle: UIStatusBarStyle, animated: boolean): Promise<void>
Swift declaration
func setStatusBarStyle(_ statusBarStyle: UIStatusBarStyle, animated: Bool)
method · iOS 6.0+ · Deprecated in iOS 27.0

supportedInterfaceOrientations

TypeScript
supportedInterfaceOrientations(window?: (UIWindow) | null): Promise<UIInterfaceOrientationMask>
Swift declaration
func supportedInterfaceOrientations(for window: UIWindow?) -> UIInterfaceOrientationMask
method · iOS 3.0+

unregisterForRemoteNotifications

TypeScript
unregisterForRemoteNotifications(): Promise<void>
Swift declaration
func unregisterForRemoteNotifications()
get · iOS 10.3+

alternateIconName

TypeScript
get alternateIconName(): Promise<(string) | null>
Swift declaration
var alternateIconName: String? { get }
get · iOS 2.0+ · Deprecated in iOS 17.0

applicationIconBadgeNumber

TypeScript
get applicationIconBadgeNumber(): Promise<number>
Swift declaration
var applicationIconBadgeNumber: Int { get set }
set · iOS 2.0+ · Deprecated in iOS 17.0

applicationIconBadgeNumber

TypeScript
setApplicationIconBadgeNumber(value: number): Promise<void>
Swift declaration
var applicationIconBadgeNumber: Int { get set }
get · iOS 4.0+

applicationState

TypeScript
get applicationState(): Promise<UIApplication_State>
Swift declaration
var applicationState: UIApplication.State { get }
get · iOS 3.0+

applicationSupportsShakeToEdit

TypeScript
get applicationSupportsShakeToEdit(): Promise<boolean>
Swift declaration
var applicationSupportsShakeToEdit: Bool { get set }
set · iOS 3.0+

applicationSupportsShakeToEdit

TypeScript
setApplicationSupportsShakeToEdit(value: boolean): Promise<void>
Swift declaration
var applicationSupportsShakeToEdit: Bool { get set }
get · iOS 7.0+

backgroundRefreshStatus

TypeScript
get backgroundRefreshStatus(): Promise<UIBackgroundRefreshStatus>
Swift declaration
var backgroundRefreshStatus: UIBackgroundRefreshStatus { get }
get · iOS 4.0+

backgroundTimeRemaining

TypeScript
get backgroundTimeRemaining(): Promise<number>
Swift declaration
nonisolated var backgroundTimeRemaining: TimeInterval { get }
get · iOS 13.0+

connectedScenes

TypeScript
get connectedScenes(): Promise<Array<UIScene>>
Swift declaration
var connectedScenes: Set<UIScene> { get }
get · iOS 8.0+ · Deprecated in iOS 10.0

currentUserNotificationSettings

TypeScript
get currentUserNotificationSettings(): Promise<(UIUserNotificationSettings) | null>
Swift declaration
var currentUserNotificationSettings: UIUserNotificationSettings? { get }
get · iOS 2.0+

delegate

TypeScript
get delegate(): Promise<(SDKHandle) | null>
Swift declaration
unowned(unsafe) var delegate: (any UIApplicationDelegate)? { get set }
set · iOS 2.0+

delegate

TypeScript
setDelegate(value?: (Implements<UIApplicationDelegate> | SDKHandle) | null): Promise<void>
Swift declaration
unowned(unsafe) var delegate: (any UIApplicationDelegate)? { get set }
get · iOS 2.0+

isIdleTimerDisabled

TypeScript
get isIdleTimerDisabled(): Promise<boolean>
Swift declaration
var isIdleTimerDisabled: Bool { get set }
set · iOS 2.0+

isIdleTimerDisabled

TypeScript
setIsIdleTimerDisabled(value: boolean): Promise<void>
Swift declaration
var isIdleTimerDisabled: Bool { get set }
get · iOS 2.0+ · Deprecated in iOS 13.0

isIgnoringInteractionEvents

TypeScript
get isIgnoringInteractionEvents(): Promise<boolean>
Swift declaration
var isIgnoringInteractionEvents: Bool { get }
get · iOS 2.0+ · Deprecated in iOS 13.0

keyWindow

TypeScript
get keyWindow(): Promise<(UIWindow) | null>
Swift declaration
var keyWindow: UIWindow? { get }
get · iOS 2.0+ · Deprecated in iOS 13.0

isNetworkActivityIndicatorVisible

TypeScript
get isNetworkActivityIndicatorVisible(): Promise<boolean>
Swift declaration
var isNetworkActivityIndicatorVisible: Bool { get set }
set · iOS 2.0+ · Deprecated in iOS 13.0

isNetworkActivityIndicatorVisible

TypeScript
setIsNetworkActivityIndicatorVisible(value: boolean): Promise<void>
Swift declaration
var isNetworkActivityIndicatorVisible: Bool { get set }
get · iOS 13.0+

openSessions

TypeScript
get openSessions(): Promise<Array<UISceneSession>>
Swift declaration
var openSessions: Set<UISceneSession> { get }
get · iOS 7.0+

preferredContentSizeCategory

TypeScript
get preferredContentSizeCategory(): Promise<UIContentSizeCategory>
Swift declaration
var preferredContentSizeCategory: UIContentSizeCategory { get }
get · iOS 4.0+

isProtectedDataAvailable

TypeScript
get isProtectedDataAvailable(): Promise<boolean>
Swift declaration
nonisolated var isProtectedDataAvailable: Bool { get }
get · iOS 8.0+

isRegisteredForRemoteNotifications

TypeScript
get isRegisteredForRemoteNotifications(): Promise<boolean>
Swift declaration
var isRegisteredForRemoteNotifications: Bool { get }
get · iOS 4.0+ · Deprecated in iOS 10.0

scheduledLocalNotifications

TypeScript
get scheduledLocalNotifications(): Promise<(Array<UILocalNotification>) | null>
Swift declaration
var scheduledLocalNotifications: [UILocalNotification]? { get set }
set · iOS 4.0+ · Deprecated in iOS 10.0

scheduledLocalNotifications

TypeScript
setScheduledLocalNotifications(value?: (Array<UILocalNotification>) | null): Promise<void>
Swift declaration
var scheduledLocalNotifications: [UILocalNotification]? { get set }
get · iOS 9.0+

shortcutItems

TypeScript
get shortcutItems(): Promise<(Array<UIApplicationShortcutItem>) | null>
Swift declaration
var shortcutItems: [UIApplicationShortcutItem]? { get set }
set · iOS 9.0+

shortcutItems

TypeScript
setShortcutItems(value?: (Array<UIApplicationShortcutItem>) | null): Promise<void>
Swift declaration
var shortcutItems: [UIApplicationShortcutItem]? { get set }
get · iOS 2.0+ · Deprecated in iOS 13.0

statusBarFrame

TypeScript
get statusBarFrame(): Promise<{ x: number; y: number; width: number; height: number }>
Swift declaration
var statusBarFrame: CGRect { get }
get · iOS 2.0+ · Deprecated in iOS 13.0

isStatusBarHidden

TypeScript
get isStatusBarHidden(): Promise<boolean>
Swift declaration
var statusBarHidden: Bool { get set }
set · iOS 2.0+ · Deprecated in iOS 13.0

isStatusBarHidden

TypeScript
setIsStatusBarHidden(value: boolean): Promise<void>
Swift declaration
var statusBarHidden: Bool { get set }
get · iOS 2.0+ · Deprecated in iOS 13.0

statusBarOrientation

TypeScript
get statusBarOrientation(): Promise<UIInterfaceOrientation>
Swift declaration
var statusBarOrientation: UIInterfaceOrientation { get set }
set · iOS 2.0+ · Deprecated in iOS 13.0

statusBarOrientation

TypeScript
setStatusBarOrientation47656(value: UIInterfaceOrientation): Promise<void>
Swift declaration
var statusBarOrientation: UIInterfaceOrientation { get set }
get · iOS 2.0+ · Deprecated in iOS 13.0

statusBarOrientationAnimationDuration

TypeScript
get statusBarOrientationAnimationDuration(): Promise<number>
Swift declaration
var statusBarOrientationAnimationDuration: TimeInterval { get }
get · iOS 2.0+ · Deprecated in iOS 13.0

statusBarStyle

TypeScript
get statusBarStyle(): Promise<UIStatusBarStyle>
Swift declaration
var statusBarStyle: UIStatusBarStyle { get set }
set · iOS 2.0+ · Deprecated in iOS 13.0

statusBarStyle

TypeScript
setStatusBarStyle9915(value: UIStatusBarStyle): Promise<void>
Swift declaration
var statusBarStyle: UIStatusBarStyle { get set }
get · iOS 10.3+

supportsAlternateIcons

TypeScript
get supportsAlternateIcons(): Promise<boolean>
Swift declaration
var supportsAlternateIcons: Bool { get }
get · iOS 13.0+

supportsMultipleScenes

TypeScript
get supportsMultipleScenes(): Promise<boolean>
Swift declaration
var supportsMultipleScenes: Bool { get }
get · iOS 27.0+

systemPrefersReducedResourceUsage

TypeScript
get systemPrefersReducedResourceUsage(): Promise<boolean>
Swift declaration
var systemPrefersReducedResourceUsage: Bool { get }
get · iOS 5.0+

userInterfaceLayoutDirection

TypeScript
get userInterfaceLayoutDirection(): Promise<UIUserInterfaceLayoutDirection>
Swift declaration
var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get }
get · iOS 2.0+ · Deprecated in iOS 15.0

windows

TypeScript
get windows(): Promise<Array<UIWindow>>
Swift declaration
var windows: [UIWindow] { get }
method · iOS 17.0+

activateSceneSession

TypeScript
activateSceneSession(request: UISceneSessionActivationRequest, errorHandler?: (((arg0: NativeError) => void)) | null): Promise<void>
Swift declaration
@MainActor @preconcurrency func activateSceneSession(for request: UISceneSessionActivationRequest, errorHandler: ((any Error) -> Void)? = nil)
get · iOS 16.0+

openNotificationSettingsURLString

TypeScript
static get openNotificationSettingsURLString(): Promise<string>
Swift declaration
nonisolated static let openNotificationSettingsURLString: String
method · iOS 18.2+

isDefault

TypeScript
isDefault(category: UIApplication_Category): Promise<boolean>
Swift declaration
nonisolated func isDefault(_ category: UIApplication.Category) throws -> Bool

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIApplication.sendAction(_:to:from:for:)

Objective-C selectors cannot cross the bridge.

All UIKit types →