Class UIMenuController

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class UIMenuController
extends NSObject
  • Constructor Details

    • UIMenuController

      public UIMenuController()
    • UIMenuController

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

      protected UIMenuController​(NSObject.SkipInit skipInit)
  • Method Details

    • getSharedMenuController

      public static UIMenuController getSharedMenuController()
    • isMenuVisible

      public boolean isMenuVisible()
    • setMenuVisible

      public void setMenuVisible​(boolean v)
    • getArrowDirection

      public UIMenuControllerArrowDirection getArrowDirection()
    • setArrowDirection

      public void setArrowDirection​(UIMenuControllerArrowDirection v)
    • getMenuFrame

      public CGRect getMenuFrame()
    • getMenuItems

      public NSArray<UIMenuItem> getMenuItems()
    • setMenuItems

      public void setMenuItems​(NSArray<UIMenuItem> items)
    • WillShowMenuNotification

      public static NSString WillShowMenuNotification()
    • DidShowMenuNotification

      public static NSString DidShowMenuNotification()
    • WillHideMenuNotification

      public static NSString WillHideMenuNotification()
    • DidHideMenuNotification

      public static NSString DidHideMenuNotification()
    • setMenuVisible

      @Deprecated public void setMenuVisible​(boolean menuVisible, boolean animated)
      Deprecated.
      Deprecated in iOS 13.0. Use showMenuFromView:rect: or hideMenuFromView: instead.
    • setTargetRect

      @Deprecated public void setTargetRect​(CGRect targetRect, UIView targetView)
      Deprecated.
      Deprecated in iOS 13.0. Use showMenuFromView:rect: instead.
    • showMenu

      public void showMenu​(UIView targetView, CGRect targetRect)
      Since:
      Available in iOS 13.0 and later.
    • hideMenuFromView

      public void hideMenuFromView​(UIView targetView)
      Since:
      Available in iOS 13.0 and later.
    • hideMenu

      public void hideMenu()
      Since:
      Available in iOS 13.0 and later.
    • update

      public void update()