Initializes a drag item preview with a URL and title.
- iOS 11.0+
- Mac Catalyst 13.0+
An Internet address referencing a remote resource, such as a webpage.
A title for the URL.
A drag preview for a URL that has a title.
This method creates a two-line drag item preview, with the title displayed on the first line. The second line is a textual representation of the URL that might not show the full URL string. Don't use a file URL. Passing
nil for the title is the same as calling