Contents

ImportFromDevicesCommands

A built-in set of commands that enables importing content from nearby devices.

Declaration

struct ImportFromDevicesCommands

Overview

This set of commands adds items based on nearby devices and capabilities, like taking photos or scanning documents. Views can receive imported content from these menu items by using the importsItemProviders(_:onImport:) modifier.

These commands are optional and you can explicitly request them by passing a value of this type to the commands(content:) modifier.

Topics

Creating the command group

See Also

Getting built-in command groups