Skip to content

ShareSheet

Offers standard activities to perform on items.

The activity picker presents activities that can be performed on a set of items. For example sending an item via an email or SMS, saving an item to disk or opening an item in a third party app. Available activites vary depending on the provided items.

+present

Presents the activity picker.

Presents a share sheet with an array of items to share. The activities included in the presented sheet will vary based on the type of item.

static present(activityItems: [any])

+presentAndWait

Presents the activity picker and waits for user action.

Presents a share sheet with an array of items to share. The function The activities included in the presented sheet will vary based on the type of item.

static presentAndWait(activityItems: [any]): Promise<{string: any}>