Class UIActionSheet

All Implemented Interfaces:
CALayerDelegate, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIResponderStandardEditActions, UITraitEnvironment, UIUserActivityRestoring, ObjCProtocol

@Deprecated
public class UIActionSheet
extends UIView
Deprecated.
Deprecated in iOS 8.3. UIActionSheet is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet instead
  • Constructor Details

    • UIActionSheet

      public UIActionSheet()
      Deprecated.
    • UIActionSheet

      protected UIActionSheet​(NSObject.Handle h, long handle)
      Deprecated.
    • UIActionSheet

      protected UIActionSheet​(NSObject.SkipInit skipInit)
      Deprecated.
    • UIActionSheet

      public UIActionSheet​(CGRect frame)
      Deprecated.
    • UIActionSheet

      public UIActionSheet​(NSCoder coder)
      Deprecated.
    • UIActionSheet

      public UIActionSheet​(String title, UIActionSheetDelegate delegate, String cancelButtonTitle, String destructiveButtonTitle, String... otherButtonTitles)
      Deprecated.
  • Method Details

    • init

      protected long init​(String title, UIActionSheetDelegate delegate, String cancelButtonTitle, String destructiveButtonTitle, long otherButtonTitles)
      Deprecated.
    • getDelegate

      public UIActionSheetDelegate getDelegate()
      Deprecated.
    • setDelegate

      public void setDelegate​(UIActionSheetDelegate v)
      Deprecated.
    • getTitle

      public String getTitle()
      Deprecated.
    • setTitle

      public void setTitle​(String v)
      Deprecated.
    • getActionSheetStyle

      public UIActionSheetStyle getActionSheetStyle()
      Deprecated.
    • setActionSheetStyle

      public void setActionSheetStyle​(UIActionSheetStyle v)
      Deprecated.
    • getNumberOfButtons

      public long getNumberOfButtons()
      Deprecated.
    • getCancelButtonIndex

      public long getCancelButtonIndex()
      Deprecated.
    • setCancelButtonIndex

      public void setCancelButtonIndex​(long v)
      Deprecated.
    • getDestructiveButtonIndex

      public long getDestructiveButtonIndex()
      Deprecated.
    • setDestructiveButtonIndex

      public void setDestructiveButtonIndex​(long v)
      Deprecated.
    • getFirstOtherButtonIndex

      public long getFirstOtherButtonIndex()
      Deprecated.
    • isVisible

      public boolean isVisible()
      Deprecated.
    • getLayerClass

      public static Class<? extends CALayer> getLayerClass()
      Deprecated.
    • addButton

      public long addButton​(String title)
      Deprecated.
    • getButtonTitle

      public String getButtonTitle​(long buttonIndex)
      Deprecated.
    • showFrom

      public void showFrom​(UIToolbar view)
      Deprecated.
    • showFrom

      public void showFrom​(UITabBar view)
      Deprecated.
    • showFrom

      public void showFrom​(UIBarButtonItem item, boolean animated)
      Deprecated.
    • showFrom

      public void showFrom​(CGRect rect, UIView view, boolean animated)
      Deprecated.
    • showIn

      public void showIn​(UIView view)
      Deprecated.
    • dismiss

      public void dismiss​(long buttonIndex, boolean animated)
      Deprecated.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute attribute)
      Deprecated.
      Since:
      Available in iOS 9.0 and later.
    • getUserInterfaceLayoutDirection

      public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection​(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)
      Deprecated.
      Since:
      Available in iOS 10.0 and later.