Initializes a new targeted drag item preview with a URL and a drag item preview.
- iOS 11.0+
- Mac Catalyst 13.0+
An Internet address referencing a remote resource, such as a webpage.
A drag item preview target.
A targeted drag preview for a URL based on the drag item preview target.
This method creates a targeted drag item preview of the URL. The URL preview is a one-line, textual representation that might not show the full URL string. Don't use a file URL.