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

# Deprecated symbols

Review symbols that are no longer in active development, and their recommended replacements.

## Overview

Although these symbols are available for use, Apple is no longer actively developing them, and may remove them in a future release. Apple recommends moving away from these symbols and using their indicated replacements instead. Check the individual symbol pages for the recommended replacements.

## Topics

### Deprecated methods

[`func alertView(UIAlertView, clickedButtonAt: Int)`](/documentation/UIKit/UIAlertViewDelegate/alertView(_:clickedButtonAt:))

Sent to the delegate when the user clicks a button on an alert view.

[`func alertViewShouldEnableFirstOtherButton(UIAlertView) -> Bool`](/documentation/UIKit/UIAlertViewDelegate/alertViewShouldEnableFirstOtherButton(_:))

Sent to the delegate to determine whether the first non-cancel button in the alert should be enabled.

[`func willPresent(UIAlertView)`](/documentation/UIKit/UIAlertViewDelegate/willPresent(_:))

Sent to the delegate before a model view is presented to the user.

[`func didPresent(UIAlertView)`](/documentation/UIKit/UIAlertViewDelegate/didPresent(_:))

Sent to the delegate after an alert view is presented to the user.

[`func alertView(UIAlertView, willDismissWithButtonIndex: Int)`](/documentation/UIKit/UIAlertViewDelegate/alertView(_:willDismissWithButtonIndex:))

Sent to the delegate before an alert view is dismissed.

[`func alertView(UIAlertView, didDismissWithButtonIndex: Int)`](/documentation/UIKit/UIAlertViewDelegate/alertView(_:didDismissWithButtonIndex:))

Sent to the delegate after an alert view is dismissed from the screen.

[`func alertViewCancel(UIAlertView)`](/documentation/UIKit/UIAlertViewDelegate/alertViewCancel(_:))

Sent to the delegate before an alert view is canceled.



---

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)