QuickLookThumbnailing generates thumbnail and icon image representations of files in various sizes and qualities. You request thumbnails through QLThumbnailGenerator, describing the file, dimensions, and quality you need, and receive the result as a QLThumbnailRepresentation, handling any failure reported through QLThumbnailError. To supply thumbnails for your own document types, you implement a QLThumbnailProvider extension that responds to a QLFileThumbnailRequest and returns a QLThumbnailReply.
Generating Thumbnails 2
Request and receive thumbnail image representations for files.
- ClQLThumbnailGeneratoriOS 13.0+An object that produces thumbnail image representations of files at requested sizes and qualities.
- ClQLThumbnailRepresentationiOS 13.0+An object that contains a generated thumbnail image and the type of representation it provides.
Providing Thumbnails 3
Supply thumbnails for your own document types through a thumbnail extension.
- ClQLThumbnailProvideriOS 11.0+An object you subclass to provide thumbnails for your app's custom document types.
- ClQLFileThumbnailRequestiOS 11.0+@abstract This class contains information about the thumbnail that should be provided.
- ClQLThumbnailReplyiOS 11.0+To provide a thumbnail for a request, you have to return a QLThumbnailReply object.
Errors 1
Handle failures reported during thumbnail generation.
- StQLThumbnailErroriOS 13.0+A structure that describes errors that occur while generating a thumbnail.