Moves the document into the user’s iCloud storage in response to the user choosing the Move to iCloud… menu item.
- macOS 10.8+
The control sending the message.
This is the action method of the Move to iCloud… menu item in a document-based app. The default implementation presents the user with an alert asking to confirm the move before invoking the
move(to: method with a URL in the app’s default ubiquity container.
See Moving Documents for descriptions of methods for moving a document to a local path.