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

# Deprecated symbols

Review unsupported symbols and their replacements.

## Topics

### Deprecated classes

[`UIAcceleration`](/documentation/UIKit/UIAcceleration)

An acceleration event that represents immediate, three-dimensional acceleration data.

[`UIAccelerometer`](/documentation/UIKit/UIAccelerometer)

An object that lets you register to receive acceleration-related data from the onboard hardware.

[`UIActionSheet`](/documentation/UIKit/UIActionSheet)

A view that presents a set of alternatives for how to proceed with a task.

[`UIAlertView`](/documentation/UIKit/UIAlertView)

A view that displays an alert message.

[`UIDocumentMenuViewController`](/documentation/UIKit/UIDocumentMenuViewController)

A list of all the available document providers for a given file type and mode, in addition to custom menu items that you add.

[`UILocalNotification`](/documentation/UIKit/UILocalNotification)

A notification that an app can schedule for presentation at a specific date and time.

[`UIMenuController`](/documentation/UIKit/UIMenuController)

The menu interface for the Cut, Copy, Paste, Select, Select All, and Delete commands.

[`UIMenuItem`](/documentation/UIKit/UIMenuItem)

A custom item in the editing menu managed by the menu controller.

[`UIMutableUserNotificationAction`](/documentation/UIKit/UIMutableUserNotificationAction)

A modifiable version of the user notification action class.

[`UIMutableUserNotificationCategory`](/documentation/UIKit/UIMutableUserNotificationCategory)

Information about custom actions that your app can perform in response to a local or push notification.

[`UIPopoverController`](/documentation/UIKit/UIPopoverController)

An object that manages the presentation of content in a popover.

[`UIPreviewAction`](/documentation/UIKit/UIPreviewAction)

A preview action, or *peek quick action*, that displays below a peek when a user swipes the peek upward.

[`UIPreviewActionGroup`](/documentation/UIKit/UIPreviewActionGroup)

A group of one or more child quick actions, each an instance of the preview action class.

[`UISearchDisplayController`](/documentation/UIKit/UISearchDisplayController)

An object that manages the display of a search bar, along with a table view that displays search results.

[`UIStoryboardPopoverSegue`](/documentation/UIKit/UIStoryboardPopoverSegue)

A specific type of segue for presenting content in a popover.

[`UIWebView`](/documentation/UIKit/UIWebView)

A view that embeds web content in your app.

[`UIUserNotificationAction`](/documentation/UIKit/UIUserNotificationAction)

A custom action that your app can perform in response to a remote or local notification.

[`UIUserNotificationCategory`](/documentation/UIKit/UIUserNotificationCategory)

Information about custom actions that your app can perform in response to a local or push notification.

[`UIUserNotificationSettings`](/documentation/UIKit/UIUserNotificationSettings)

The types of notifications that can be displayed to the user by your app.

### Deprecated protocols

[`UIAccelerometerDelegate`](/documentation/UIKit/UIAccelerometerDelegate)

The interface for receiving acceleration-related data from the system.

[`UIActionSheetDelegate`](/documentation/UIKit/UIActionSheetDelegate)

The interface for the delegate of an action sheet object.

[`UIAlertViewDelegate`](/documentation/UIKit/UIAlertViewDelegate)

The interface for the delegate of an alert view object.

[`UIPopoverControllerDelegate`](/documentation/UIKit/UIPopoverControllerDelegate)

The interface for the delegate of a popover controller object.

[`UISearchDisplayDelegate`](/documentation/UIKit/UISearchDisplayDelegate)

The interface for the delegate of a search display controller.

[`UIViewControllerPreviewing`](/documentation/UIKit/UIViewControllerPreviewing)

A set of methods that define the interface for configuring a previewing view controller on devices that support 3D Touch.

[`UIViewControllerPreviewingDelegate`](/documentation/UIKit/UIViewControllerPreviewingDelegate)

A set of methods used by the delegate to respond, with a preview view controller and a commit view controller, to the user pressing a view object on the screen of a device that supports 3D Touch.

### Deprecated enumerations

[`UIDirectionalRectEdge`](/documentation/UIKit/UIDirectionalRectEdge)

Constants that specify an edge or a set of edges, taking the user interface layout direction into account.

[`UIStatusBarAnimation`](/documentation/UIKit/UIStatusBarAnimation)

Constants that specify the animation of the status bar as it’s hidden or made visible.

### Deprecated functions

[`UIApplicationMain(_:_:_:_:)`](/documentation/UIKit/UIApplicationMain(_:_:_:_:)-9jjn8)

Creates the application object and the application delegate and sets up the event cycle.

[`UIGraphicsBeginImageContext`](/documentation/UIKit/UIGraphicsBeginImageContext(_:))

Creates a bitmap-based graphics context and makes it the current context.

[`UIGraphicsGetImageFromCurrentImageContext`](/documentation/UIKit/UIGraphicsGetImageFromCurrentImageContext())

Returns an image from the contents of the current bitmap-based graphics context.

[`UIGraphicsEndImageContext`](/documentation/UIKit/UIGraphicsEndImageContext())

Removes the current bitmap-based graphics context from the top of the stack.

### Deprecated samples

[Implementing Peek and Pop](/documentation/UIKit/implementing-peek-and-pop)

Accelerate actions in your app by providing shortcuts to preview content in detail view controllers.



---

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)