Contents

init(fileURL:)

Declaration

init(fileURL: URL)

Parameters

  • fileURL:

    A file URL representing a preview of the previewed URL. Currently supported types include: UTTypeImage, UTTypePDF, UTTypeHTML, UTTypeXML, UTTypePlainText, UTTypeRTF, UTTypeRTFD, UTTypeMovie, UTTypeAudio

Discussion

Use this method to provide a preview by providing a URL to a file of a supported type.