UIActionDefinition: {
    handler?: (() => void);
    image?: UIImage;
    subtitle?: string;
    title: string;
    type: "action";
}

Type declaration

  • Optional handler?: (() => void)
      • (): void
      • Returns void

  • Optional image?: UIImage
  • Optional subtitle?: string

    Only works with iOS 15+

  • title: string
  • type: "action"

    Menu item type

Generated using TypeDoc