@Deprecated public class UIAlertView extends UIView
UIAlertController
,
UIAlertControllerStyle.Alert
NoIntrinsicMetric
Constructor and Description |
---|
UIAlertView(String title,
String message,
UIAlertViewDelegate delegate,
String cancelButtonTitle,
String... otherButtonTitles)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
addButtonWithTitle(String title)
Deprecated.
|
int |
alertViewStyle()
Deprecated.
|
UIAlertViewDelegate |
delegate()
Deprecated.
|
String |
message()
Deprecated.
|
void |
setAlertViewStyle(int UIAlertViewStyle)
Deprecated.
|
void |
setDelegate(UIAlertViewDelegate delegate)
Deprecated.
|
void |
setMessage(String message)
Deprecated.
|
void |
setTitle(String title)
Deprecated.
|
void |
show()
Deprecated.
Displays the alert view using animation.
|
UITextField |
textFieldAtIndex(int index)
Deprecated.
|
String |
title()
Deprecated.
|
accessibilityIdentifier, addConstraint, addConstraints, addGestureRecognizer, addLayoutGuide, addSubview, alpha, animateWithDuration, animateWithDuration, animateWithDuration, areAnimationsEnabled, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, center, centerXAnchor, centerYAnchor, clipsToBounds, constraints, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, convertPointFromView, convertPointToView, convertRectFromView, convertRectToView, didAddSubview, didMoveToSuperview, didMoveToWindow, drawRect, frame, gestureRecognizers, heightAnchor, hitTest, insertSubview, insetsLayoutMarginsFromSafeArea, intrinsicContentSize, invalidateIntrinsicContentSize, isHidden, isMultipleTouchEnabled, isOpaque, isUserInteractionEnabled, layer, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSubviews, leadingAnchor, leftAnchor, maskView, needsUpdateConstraints, nextResponder, overrideUserInterfaceStyle, pointInside, preservesSuperviewLayoutMargins, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeLayoutGuide, requiresConstraintBasedLayout, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaLayoutGuide, sendSubviewToBack, setAccessibilityIdentifier, setAlpha, setAnimationBeginsFromCurrentState, setAnimationCurve, setAnimationDelay, setAnimationDuration, setAnimationRepeatAutoreverses, setAnimationRepeatCount, setAnimationsEnabled, setAnimationStartDate, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriority, setContentHuggingPriority, setContentMode, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setLayoutMargins, setMaskView, setMultipleTouchEnabled, setNeedsDisplay, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, sizeThatFits, sizeToFit, subviews, superview, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, toString, trailingAnchor, transform, transitionWithView, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, userInterfaceLayoutDirection, viewForFirstBaselineLayout, viewForLastBaselineLayout, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
becomeFirstResponder, isFirstResponder, resignFirstResponder, touchesBegan, touchesCancelled, touchesEnded, touchesMoved
addObserver, observeValueForKeyPath, performSelector, performSelectorOnMainThread, release, removeObserver, removeObserver, retain, setValueForKey, setValueForUndefinedKey, valueForKey, valueForUndefinedKey
@Deprecated public UIAlertView(String title, String message, UIAlertViewDelegate delegate, String cancelButtonTitle, String... otherButtonTitles)
title
- The string that appears in the receiver’s title bar.message
- Descriptive text that provides more details than the
title.delegate
- The receiver’s delegate or NULL if it doesn’t have a
delegate.cancelButtonTitle
- The title of the cancel button or null if there
is no cancel button.otherButtonTitles
- The title of another button.@Deprecated public void setDelegate(UIAlertViewDelegate delegate)
delegate
- The delegate for this alert view.UIAlertViewDelegate
@Deprecated public UIAlertViewDelegate delegate()
public void show()
@Deprecated public void setTitle(String title)
title
- The title of this object.@Deprecated public String title()
@Deprecated public void setMessage(String message)
message
- The text to be inserted into the text field below the
title.@Deprecated public String message()
@Deprecated public int addButtonWithTitle(String title)
title
- The title of the button.@Deprecated public UITextField textFieldAtIndex(int index)
index
- The index of the text field. Text field starts at 0.UITextField
@Deprecated public int alertViewStyle()
UIAlertViewStyle
@Deprecated public void setAlertViewStyle(int UIAlertViewStyle)
UIAlertViewStyle
- The kind of alert displayed to the user.UIAlertViewStyle
Copyright © 2020. All rights reserved.