<!--
{
  "documentType" : "article",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/uiapplication-deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated symbols"
}
-->

# Deprecated symbols

Review unsupported symbols and their replacements.

## Topics

### Deprecated methods

[`func requestSceneSessionActivation(UISceneSession?, userActivity: NSUserActivity?, options: UIScene.ActivationRequestOptions?, errorHandler: ((any Error) -> Void)?)`](/documentation/UIKit/UIApplication/requestSceneSessionActivation(_:userActivity:options:errorHandler:))

Asks the system to activate an existing scene, or create a new scene and associate it with your app.

[`func beginIgnoringInteractionEvents()`](/documentation/UIKit/UIApplication/beginIgnoringInteractionEvents())

Tells the receiver to suspend the handling of touch-related events.

[`func endIgnoringInteractionEvents()`](/documentation/UIKit/UIApplication/endIgnoringInteractionEvents())

Tells the receiver to resume the handling of touch-related events.

[`func setMinimumBackgroundFetchInterval(TimeInterval)`](/documentation/UIKit/UIApplication/setMinimumBackgroundFetchInterval(_:))

Specifies the minimum amount of time that must elapse between background fetch operations.

[`func scheduleLocalNotification(UILocalNotification)`](/documentation/UIKit/UIApplication/scheduleLocalNotification(_:))

Schedules a local notification for delivery at its encapsulated date and time.

[`func presentLocalNotificationNow(UILocalNotification)`](/documentation/UIKit/UIApplication/presentLocalNotificationNow(_:))

Presents a local notification immediately.

[`func cancelLocalNotification(UILocalNotification)`](/documentation/UIKit/UIApplication/cancelLocalNotification(_:))

Cancels the delivery of the specified scheduled local notification.

[`func cancelAllLocalNotifications()`](/documentation/UIKit/UIApplication/cancelAllLocalNotifications())

Cancels the delivery of all scheduled local notifications.

[`func setKeepAliveTimeout(TimeInterval, handler: (() -> Void)?) -> Bool`](/documentation/UIKit/UIApplication/setKeepAliveTimeout(_:handler:))

Configures a periodic handler for VoIP apps in older versions of iOS.

[`let UIMinimumKeepAliveTimeout: TimeInterval`](/documentation/UIKit/UIMinimumKeepAliveTimeout)

The minimum amount of time (measured in seconds) an app may run a critical background task in the background.

[`func clearKeepAliveTimeout()`](/documentation/UIKit/UIApplication/clearKeepAliveTimeout())

Removes a previously installed periodic handler block.

[`- (void) setStatusBarHidden:(BOOL) hidden animated:(BOOL) animated;`](/documentation/UIKit/UIApplication/setStatusBarHidden:animated:)

Hides or shows the status bar, optionally animating the transition.

[`func setStatusBarHidden(Bool, with: UIStatusBarAnimation)`](/documentation/UIKit/UIApplication/setStatusBarHidden(_:with:))

Hides or shows the status bar, optionally animating the transition.

[`func setStatusBarStyle(UIStatusBarStyle, animated: Bool)`](/documentation/UIKit/UIApplication/setStatusBarStyle(_:animated:))

Sets the style of the status bar, optionally animating the transition to the new style.

[`func setStatusBarOrientation(UIInterfaceOrientation, animated: Bool)`](/documentation/UIKit/UIApplication/setStatusBarOrientation(_:animated:))

Sets the app’s status bar to the specified orientation, optionally animating the transition.

[`func registerUserNotificationSettings(UIUserNotificationSettings)`](/documentation/UIKit/UIApplication/registerUserNotificationSettings(_:))

Registers your preferred options for notifying the user.

[`func registerForRemoteNotifications(matching: UIRemoteNotificationType)`](/documentation/UIKit/UIApplication/registerForRemoteNotifications(matching:))

Register to receive remote notifications of the specified types via Apple Push Notification service.

[`func enabledRemoteNotificationTypes() -> UIRemoteNotificationType`](/documentation/UIKit/UIApplication/enabledRemoteNotificationTypes())

Returns the types of notifications the app accepts.

[`struct UIRemoteNotificationType`](/documentation/UIKit/UIRemoteNotificationType)

Constants indicating the types of notifications the app may display to the user.

[`func openURL(URL) -> Bool`](/documentation/UIKit/UIApplication/openURL(_:))

Attempts to open the resource at the specified URL.

[`func setNewsstandIconImage(UIImage?)`](/documentation/UIKit/UIApplication/setNewsstandIconImage(_:))

Sets the icon of a Newsstand app to an image depicting the current issue of a publication.

### Deprecated notifications

[`class let willChangeStatusBarFrameNotification: NSNotification.Name`](/documentation/UIKit/UIApplication/willChangeStatusBarFrameNotification)

Posted when the app is about to change the frame of the status bar.

[`class let didChangeStatusBarFrameNotification: NSNotification.Name`](/documentation/UIKit/UIApplication/didChangeStatusBarFrameNotification)

Posted when the frame of the status bar changes.

[`class let willChangeStatusBarOrientationNotification: NSNotification.Name`](/documentation/UIKit/UIApplication/willChangeStatusBarOrientationNotification)

Posted when the app is about to change the orientation of its interface.

[`class let didChangeStatusBarOrientationNotification: NSNotification.Name`](/documentation/UIKit/UIApplication/didChangeStatusBarOrientationNotification)

Posted when the orientation of the app’s user interface changes.

### Deprecated properties

[`var applicationIconBadgeNumber: Int`](/documentation/UIKit/UIApplication/applicationIconBadgeNumber)

The number currently set as the badge of the app icon on the Home screen.

[`class let statusBarFrameUserInfoKey: String`](/documentation/UIKit/UIApplication/statusBarFrameUserInfoKey)

A key whose value indicates the new status bar frame.

[`class let statusBarOrientationUserInfoKey: String`](/documentation/UIKit/UIApplication/statusBarOrientationUserInfoKey)

A key whose value indicates the current interface orientation.

[`var currentUserNotificationSettings: UIUserNotificationSettings?`](/documentation/UIKit/UIApplication/currentUserNotificationSettings)

Returns the user notification settings for the app.

[`var isIgnoringInteractionEvents: Bool`](/documentation/UIKit/UIApplication/isIgnoringInteractionEvents)

A Boolean value that indicates whether the receiver is ignoring events initiated by touches on the screen.

[`var isNetworkActivityIndicatorVisible: Bool`](/documentation/UIKit/UIApplication/isNetworkActivityIndicatorVisible)

A Boolean value that turns an indicator of network activity on or off.

[`@property (nonatomic, getter=isProximitySensingEnabled) BOOL proximitySensingEnabled;`](/documentation/UIKit/UIApplication/proximitySensingEnabled)

A Boolean value that determines whether proximity sensing is enabled.

[`var isStatusBarHidden: Bool`](/documentation/UIKit/UIApplication/isStatusBarHidden)

A Boolean value that determines whether the status bar is hidden.

[`var keyWindow: UIWindow?`](/documentation/UIKit/UIApplication/keyWindow)

The app’s key window.

[`var scheduledLocalNotifications: [UILocalNotification]?`](/documentation/UIKit/UIApplication/scheduledLocalNotifications)

All currently scheduled local notifications.

[`var statusBarFrame: CGRect`](/documentation/UIKit/UIApplication/statusBarFrame)

The frame rectangle defining the area of the status bar.

[`var statusBarOrientation: UIInterfaceOrientation`](/documentation/UIKit/UIApplication/statusBarOrientation)

The current orientation of the app’s status bar.

[`var statusBarOrientationAnimationDuration: TimeInterval`](/documentation/UIKit/UIApplication/statusBarOrientationAnimationDuration)

The animation duration in seconds for the status bar during a 90 degree orientation change.

[`var statusBarStyle: UIStatusBarStyle`](/documentation/UIKit/UIApplication/statusBarStyle)

The current style of the status bar.

[`var windows: [UIWindow]`](/documentation/UIKit/UIApplication/windows)

The app’s visible and hidden windows.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)