FolderMenuItem

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFolderMenuItem)
open class FolderMenuItem : NSObject, MenuItem

The menu item that is used to group multiple assets.

Properties

  • The identifier that this menu item represents.

    Declaration

    Swift

    public let identifier: String
  • The title of this menu item.

    Declaration

    Swift

    public let title: String
  • The thumbnail image of this menu item.

    Declaration

    Swift

    public let thumbnail: UIImage?
  • The accessibility identifier of this menu item.

    Declaration

    Swift

    public let accessibilityIdentifier: String?
  • The child menu items that this group contains.

    Declaration

    Swift

    public let items: [MenuItem]

Initializers

  • Creates a new FolderMenuItem object.

    Declaration

    Swift

    public init(identifier: String, title: String, thumbnail: UIImage?, accessibilityIdentifier: String?, items: [MenuItem])

    Parameters

    identifier

    The identifier that this menu item represents.

    title

    The title of this menu item.

    thumbnail

    The thumbnail image of this menu item.

    accessibilityIdentifier

    The accessibility identifier of this menu item.

    items

    The child menu items that this group contains.