iOS中使用UIDocumentPickerViewController从iCloud选择文件

使用方法如下:

let documentPicker = UIDocumentPickerViewController(documentTypes: [String(kUTTypePDF)], in: UIDocumentPickerMode.open)
        documentPicker.modalPresentationStyle = .formSheet
        self.present(documentPicker, animated: true, completion: nil)

类型定义在MobileCoreServices->UTCoreTypes.h中有很多如下:


/* File: UTCoreTypes.h Contains: String constants for core uniform type identifiers Copyright: (c) 2004-2012 by Apple Inc. All rights reserved. Bugs?: For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/ */ /* * kUTTypeItem * * generic base type for most things * (files, directories) * * UTI: public.item * * * kUTTypeContent * * base type for anything containing user-viewable document content * (documents, pasteboard data, and document packages.) Types describing * files or packages must also conform to kUTTypeData or kUTTypePackage * in order for the system to bind documents to them. * * UTI: public.content * * * kUTTypeCompositeContent * * base type for content formats supporting mixed embedded content * (i.e., compound documents) * * UTI: public.composite-content * conforms to: public.content * * * kUTTypeMessage * * base type for messages (email, IM, etc.) * * UTI: public.message * * * kUTTypeContact * * contact information, e.g. for a person, group, organization * * UTI: public.contact * * * kUTTypeArchive * * an archive of files and directories * * UTI: public.archive * * * kUTTypeDiskImage * * a data item mountable as a volume * * UTI: public.disk-image * */ @available(iOS 3.0, *) public let kUTTypeItem: CFString @available(iOS 3.0, *) public let kUTTypeContent: CFString @available(iOS 3.0, *) public let kUTTypeCompositeContent: CFString @available(iOS 3.0, *) public let kUTTypeMessage: CFString @available(iOS 3.0, *) public let kUTTypeContact: CFString @available(iOS 3.0, *) public let kUTTypeArchive: CFString @available(iOS 3.0, *) public let kUTTypeDiskImage: CFString /* * kUTTypeData * * base type for any sort of simple byte stream, * including files and in-memory data * * UTI: public.data * conforms to: public.item * * * kUTTypeDirectory * * file system directory * (includes packages AND folders) * * UTI: public.directory * conforms to: public.item * * * kUTTypeResolvable * * symlink and alias file types conform to this UTI * * UTI: com.apple.resolvable * * * kUTTypeSymLink * * a symbolic link * * UTI: public.symlink * conforms to: public.item, com.apple.resolvable * * * kUTTypeExecutable * * an executable item * UTI: public.executable * conforms to: public.item * * * kUTTypeMountPoint * * a volume mount point (resolvable, resolves to the root dir of a volume) * * UTI: com.apple.mount-point * conforms to: public.item, com.apple.resolvable * * * kUTTypeAliasFile * * a fully-formed alias file * * UTI: com.apple.alias-file * conforms to: public.data, com.apple.resolvable * * * kUTTypeAliasRecord * * raw alias data * * UTI: com.apple.alias-record * conforms to: public.data, com.apple.resolvable * * * kUTTypeURLBookmarkData * * URL bookmark * * UTI: com.apple.bookmark * conforms to: public.data, com.apple.resolvable * */ @available(iOS 3.0, *) public let kUTTypeData: CFString @available(iOS 3.0, *) public let kUTTypeDirectory: CFString @available(iOS 3.0, *) public let kUTTypeResolvable: CFString @available(iOS 3.0, *) public let kUTTypeSymLink: CFString @available(iOS 8.0, *) public let kUTTypeExecutable: CFString @available(iOS 3.0, *) public let kUTTypeMountPoint: CFString @available(iOS 3.0, *) public let kUTTypeAliasFile: CFString @available(iOS 3.0, *) public let kUTTypeAliasRecord: CFString @available(iOS 8.0, *) public let kUTTypeURLBookmarkData: CFString /* * kUTTypeURL * * The bytes of a URL * (OSType 'url ') * * UTI: public.url * conforms to: public.data * * * kUTTypeFileURL * * The text of a "file:" URL * (OSType 'furl') * * UTI: public.file-url * conforms to: public.url * */ @available(iOS 3.0, *) public let kUTTypeURL: CFString @available(iOS 3.0, *) public let kUTTypeFileURL: CFString /* * kUTTypeText * * base type for all text-encoded data, * including text with markup (HTML, RTF, etc.) * * UTI: public.text * conforms to: public.data, public.content * * * kUTTypePlainText * * text with no markup, unspecified encoding * * UTI: public.plain-text * conforms to: public.text * * * kUTTypeUTF8PlainText * * plain text, UTF-8 encoding * (OSType 'utf8', NSPasteboardType "NSStringPBoardType") * * UTI: public.utf8-plain-text * conforms to: public.plain-text * * * kUTTypeUTF16ExternalPlainText * * plain text, UTF-16 encoding, with BOM, or if BOM * is not present, has "external representation" * byte order (big-endian). * (OSType 'ut16') * * UTI: public.utf16-external-plain-text * conforms to: public.plain-text * * * kUTTypeUTF16PlainText * * plain text, UTF-16 encoding, native byte order, optional BOM * (OSType 'utxt') * * UTI: public.utf16-plain-text * conforms to: public.plain-text * * * kUTTypeDelimitedText * * text containing delimited values * * UTI: public.delimited-values-text * conforms to: public.text * * * kUTTypeCommaSeparatedText * * text containing comma-separated values (.csv) * * UTI: public.comma-separated-values-text * conforms to: public.delimited-values-text * * * kUTTypeTabSeparatedText * * text containing tab-separated values * * UTI: public.tab-separated-values-text * conforms to: public.delimited-values-text * * * kUTTypeUTF8TabSeparatedText * * UTF-8 encoded text containing tab-separated values * * UTI: public.utf8-tab-separated-values-text * conforms to: public.tab-separated-values-text, public.utf8-plain-text * * * kUTTypeRTF * * Rich Text Format * * UTI: public.rtf * conforms to: public.text * */ @available(iOS 3.0, *) public let kUTTypeText: CFString @available(iOS 3.0, *) public let kUTTypePlainText: CFString @available(iOS 3.0, *) public let kUTTypeUTF8PlainText: CFString @available(iOS 3.0, *) public let kUTTypeUTF16ExternalPlainText: CFString @available(iOS 3.0, *) public let kUTTypeUTF16PlainText: CFString @available(iOS 8.0, *) public let kUTTypeDelimitedText: CFString @available(iOS 8.0, *) public let kUTTypeCommaSeparatedText: CFString @available(iOS 8.0, *) public let kUTTypeTabSeparatedText: CFString @available(iOS 8.0, *) public let kUTTypeUTF8TabSeparatedText: CFString @available(iOS 3.0, *) public let kUTTypeRTF: CFString /* * kUTTypeHTML * * HTML, any version * * UTI: public.html * conforms to: public.text * * * kUTTypeXML * * generic XML * * UTI: public.xml * conforms to: public.text * */ @available(iOS 3.0, *) public let kUTTypeHTML: CFString @available(iOS 3.0, *) public let kUTTypeXML: CFString /* * kUTTypeSourceCode * * abstract type for source code (any language) * * UTI: public.source-code * conforms to: public.plain-text * * * kUTTypeAssemblyLanguageSource * * assembly language source (.s) * * UTI: public.assembly-source * conforms to: public.source-code * * * kUTTypeCSource * * C source code (.c) * * UTI: public.c-source * conforms to: public.source-code * * * kUTTypeObjectiveCSource * * Objective-C source code (.m) * * UTI: public.objective-c-source * conforms to: public.source-code * * * kUTTypeSwiftSource * * Swift source code (.swift) * * UTI: public.swift-source * conforms to: public.source-code * * * kUTTypeCPlusPlusSource * * C++ source code (.cp, etc.) * * UTI: public.c-plus-plus-source * conforms to: public.source-code * * * kUTTypeObjectiveCPlusPlusSource * * Objective-C++ source code * * UTI: public.objective-c-plus-plus-source * conforms to: public.source-code * * * kUTTypeCHeader * * C header * * UTI: public.c-header * conforms to: public.source-code * * * kUTTypeCPlusPlusHeader * * C++ header * * UTI: public.c-plus-plus-header * conforms to: public.source-code * * * kUTTypeJavaSource * * Java source code * * UTI: com.sun.java-source * conforms to: public.source-code * */ @available(iOS 3.0, *) public let kUTTypeSourceCode: CFString @available(iOS 8.0, *) public let kUTTypeAssemblyLanguageSource: CFString @available(iOS 3.0, *) public let kUTTypeCSource: CFString @available(iOS 3.0, *) public let kUTTypeObjectiveCSource: CFString @available(iOS 9.0, *) public let kUTTypeSwiftSource: CFString @available(iOS 3.0, *) public let kUTTypeCPlusPlusSource: CFString @available(iOS 3.0, *) public let kUTTypeObjectiveCPlusPlusSource: CFString @available(iOS 3.0, *) public let kUTTypeCHeader: CFString @available(iOS 3.0, *) public let kUTTypeCPlusPlusHeader: CFString @available(iOS 3.0, *) public let kUTTypeJavaSource: CFString /* * kUTTypeScript * * scripting language source * * UTI: public.script * conforms to: public.source-code * * * kUTTypeAppleScript * * AppleScript text format (.applescript) * * UTI: com.apple.applescript.text * conforms to: public.script * * * kUTTypeOSAScript * * Open Scripting Architecture script binary format (.scpt) * * UTI: com.apple.applescript.script * conforms to: public.data, public.script * * * kUTTypeOSAScriptBundle * * Open Scripting Architecture script bundle format (.scptd) * * UTI: com.apple.applescript.script-bundle * conforms to: com.apple.bundle, com.apple.package, public.script * * * kUTTypeJavaScript * * JavaScript source code * * UTI: com.netscape.javascript-source * conforms to: public.source-code, public.executable * * * kUTTypeShellScript * * base type for shell scripts * * UTI: public.shell-script * conforms to: public.script * * * kUTTypePerlScript * * Perl script * * UTI: public.perl-script * conforms to: public.shell-script * * * kUTTypePythonScript * * Python script * * UTI: public.python-script * conforms to: public.shell-script * * * kUTTypeRubyScript * * Ruby script * * UTI: public.ruby-script * conforms to: public.shell-script * * * kUTTypePHPScript * * PHP script * * UTI: public.php-script * conforms to: public.shell-script * */ @available(iOS 8.0, *) public let kUTTypeScript: CFString @available(iOS 8.0, *) public let kUTTypeAppleScript: CFString @available(iOS 8.0, *) public let kUTTypeOSAScript: CFString @available(iOS 8.0, *) public let kUTTypeOSAScriptBundle: CFString @available(iOS 8.0, *) public let kUTTypeJavaScript: CFString @available(iOS 8.0, *) public let kUTTypeShellScript: CFString @available(iOS 8.0, *) public let kUTTypePerlScript: CFString @available(iOS 8.0, *) public let kUTTypePythonScript: CFString @available(iOS 8.0, *) public let kUTTypeRubyScript: CFString @available(iOS 8.0, *) public let kUTTypePHPScript: CFString /* * kUTTypeJSON * * JavaScript object notation (JSON) data * NOTE: JSON almost but doesn't quite conform to * com.netscape.javascript-source * * UTI: public.json * conforms to: public.text * * * kUTTypePropertyList * * base type for property lists * * UTI: com.apple.property-list * conforms to: public.data * * * kUTTypeXMLPropertyList * * XML property list * * UTI: com.apple.xml-property-list * conforms to: public.xml, com.apple.property-list * * * kUTTypeBinaryPropertyList * * XML property list * * UTI: com.apple.binary-property-list * conforms to: com.apple.property-list * */ @available(iOS 8.0, *) public let kUTTypeJSON: CFString @available(iOS 8.0, *) public let kUTTypePropertyList: CFString @available(iOS 8.0, *) public let kUTTypeXMLPropertyList: CFString @available(iOS 8.0, *) public let kUTTypeBinaryPropertyList: CFString /* * kUTTypePDF * * Adobe PDF * * UTI: com.adobe.pdf * conforms to: public.data, public.composite-content * * * kUTTypeRTFD * * Rich Text Format Directory * (RTF with content embedding, on-disk format) * * UTI: com.apple.rtfd * conforms to: com.apple.package, public.composite-content * * * kUTTypeFlatRTFD * * Flattened RTFD (pasteboard format) * * UTI: com.apple.flat-rtfd * conforms to: public.data, public.composite-content * * * kUTTypeTXNTextAndMultimediaData * * MLTE (Textension) format for mixed text & multimedia data * (OSType 'txtn') * * UTI: com.apple.txn.text-multimedia-data * conforms to: public.data, public.composite-content * * * kUTTypeWebArchive * * The WebKit webarchive format * * UTI: com.apple.webarchive * conforms to: public.data, public.composite-content */ @available(iOS 3.0, *) public let kUTTypePDF: CFString @available(iOS 3.0, *) public let kUTTypeRTFD: CFString @available(iOS 3.0, *) public let kUTTypeFlatRTFD: CFString @available(iOS 3.0, *) public let kUTTypeTXNTextAndMultimediaData: CFString @available(iOS 3.0, *) public let kUTTypeWebArchive: CFString /* * kUTTypeImage * * abstract image data * * UTI: public.image * conforms to: public.data, public.content * * * kUTTypeJPEG * * JPEG image * * UTI: public.jpeg * conforms to: public.image * * * kUTTypeJPEG2000 * * JPEG-2000 image * * UTI: public.jpeg-2000 * conforms to: public.image * * * kUTTypeTIFF * * TIFF image * * UTI: public.tiff * conforms to: public.image * * * kUTTypePICT * * Quickdraw PICT format * * UTI: com.apple.pict * conforms to: public.image * * * kUTTypeGIF * * GIF image * * UTI: com.compuserve.gif * conforms to: public.image * * * kUTTypePNG * * PNG image * * UTI: public.png * conforms to: public.image * * * kUTTypeQuickTimeImage * * QuickTime image format (OSType 'qtif') * * UTI: com.apple.quicktime-image * conforms to: public.image * * * kUTTypeAppleICNS * * Apple icon data * * UTI: com.apple.icns * conforms to: public.image * * * kUTTypeBMP * * Windows bitmap * * UTI: com.microsoft.bmp * conforms to: public.image * * * kUTTypeICO * * Windows icon data * * UTI: com.microsoft.ico * conforms to: public.image * * * kUTTypeRawImage * * base type for raw image data (.raw) * * UTI: public.camera-raw-image * conforms to: public.image * * * kUTTypeScalableVectorGraphics * * SVG image * * UTI: public.svg-image * conforms to: public.image * * kUTTypeLivePhoto * * Live Photo * * UTI: com.apple.live-photo * * */ @available(iOS 3.0, *) public let kUTTypeImage: CFString @available(iOS 3.0, *) public let kUTTypeJPEG: CFString @available(iOS 3.0, *) public let kUTTypeJPEG2000: CFString @available(iOS 3.0, *) public let kUTTypeTIFF: CFString @available(iOS 3.0, *) public let kUTTypePICT: CFString @available(iOS 3.0, *) public let kUTTypeGIF: CFString @available(iOS 3.0, *) public let kUTTypePNG: CFString @available(iOS 3.0, *) public let kUTTypeQuickTimeImage: CFString @available(iOS 3.0, *) public let kUTTypeAppleICNS: CFString @available(iOS 3.0, *) public let kUTTypeBMP: CFString @available(iOS 3.0, *) public let kUTTypeICO: CFString @available(iOS 8.0, *) public let kUTTypeRawImage: CFString @available(iOS 8.0, *) public let kUTTypeScalableVectorGraphics: CFString @available(iOS 9.1, *) public let kUTTypeLivePhoto: CFString /* * kUTTypeAudiovisualContent * * audio and/or video content * * UTI: public.audiovisual-content * conforms to: public.data, public.content * * * kUTTypeMovie * * A media format which may contain both video and audio * Corresponds to what users would label a "movie" * * UTI: public.movie * conforms to: public.audiovisual-content * * * kUTTypeVideo * * pure video (no audio) * * UTI: public.video * conforms to: public.movie * * * kUTTypeAudio * * pure audio (no video) * * UTI: public.audio * conforms to: public.audiovisual-content * * * kUTTypeQuickTimeMovie * * QuickTime movie * * UTI: com.apple.quicktime-movie * conforms to: public.movie * * * kUTTypeMPEG * * MPEG-1 or MPEG-2 movie * * UTI: public.mpeg * conforms to: public.movie * * * kUTTypeMPEG2Video * * MPEG-2 video * * UTI: public.mpeg-2-video * conforms to: public.video * * * kUTTypeMPEG2TransportStream * * MPEG-2 Transport Stream movie format * * UTI: public.mpeg-2-transport-stream * conforms to: public.movie * * * kUTTypeMP3 * * MP3 audio * * UTI: public.mp3 * conforms to: public.audio * * * kUTTypeMPEG4 * * MPEG-4 movie * * UTI: public.mpeg-4 * conforms to: public.movie * * * kUTTypeMPEG4Audio * * MPEG-4 audio layer * * UTI: public.mpeg-4-audio * conforms to: public.mpeg-4, public.audio * * * kUTTypeAppleProtectedMPEG4Audio * * Apple protected MPEG4 format * (.m4p, iTunes music store format) * * UTI: com.apple.protected-mpeg-4-audio * conforms to: public.audio * * * kUTTypeAppleProtectedMPEG4Video * * Apple protected MPEG-4 movie * * UTI: com.apple.protected-mpeg-4-video * conforms to: com.apple.m4v-video * * * kUTTypeAVIMovie * * Audio Video Interleaved (AVI) movie format * * UTI: public.avi * conforms to: public.movie * * * kUTTypeAudioInterchangeFileFormat * * AIFF audio format * * UTI: public.aiff-audio * conforms to: public.aifc-audio * * * kUTTypeWaveformAudio * * Waveform audio format (.wav) * * UTI: com.microsoft.waveform-audio * conforms to: public.audio * * * kUTTypeMIDIAudio * * MIDI audio format * * UTI: public.midi-audio * conforms to: public.audio * * */ @available(iOS 3.0, *) public let kUTTypeAudiovisualContent: CFString @available(iOS 3.0, *) public let kUTTypeMovie: CFString @available(iOS 3.0, *) public let kUTTypeVideo: CFString @available(iOS 3.0, *) public let kUTTypeAudio: CFString @available(iOS 3.0, *) public let kUTTypeQuickTimeMovie: CFString @available(iOS 3.0, *) public let kUTTypeMPEG: CFString @available(iOS 8.0, *) public let kUTTypeMPEG2Video: CFString @available(iOS 8.0, *) public let kUTTypeMPEG2TransportStream: CFString @available(iOS 3.0, *) public let kUTTypeMP3: CFString @available(iOS 3.0, *) public let kUTTypeMPEG4: CFString @available(iOS 3.0, *) public let kUTTypeMPEG4Audio: CFString @available(iOS 3.0, *) public let kUTTypeAppleProtectedMPEG4Audio: CFString @available(iOS 8.0, *) public let kUTTypeAppleProtectedMPEG4Video: CFString @available(iOS 8.0, *) public let kUTTypeAVIMovie: CFString @available(iOS 8.0, *) public let kUTTypeAudioInterchangeFileFormat: CFString @available(iOS 8.0, *) public let kUTTypeWaveformAudio: CFString @available(iOS 8.0, *) public let kUTTypeMIDIAudio: CFString /* * kUTTypePlaylist * * base type for playlists * * UTI: public.playlist * * * kUTTypeM3UPlaylist * * M3U or M3U8 playlist * * UTI: public.m3u-playlist * conforms to: public.text, public.playlist * */ @available(iOS 8.0, *) public let kUTTypePlaylist: CFString @available(iOS 8.0, *) public let kUTTypeM3UPlaylist: CFString /* * kUTTypeFolder * * a user-browsable directory (i.e., not a package) * * UTI: public.folder * conforms to: public.directory * * * kUTTypeVolume * * the root folder of a volume/mount point * * UTI: public.volume * conforms to: public.folder * * * kUTTypePackage * * a packaged directory * * UTI: com.apple.package * conforms to: public.directory * * * kUTTypeBundle * * a directory conforming to one of the CFBundle layouts * * UTI: com.apple.bundle * conforms to: public.directory * * * kUTTypePluginBundle * * base type for bundle-based plugins * * UTI: com.apple.plugin * conforms to: com.apple.bundle, com.apple.package * * * kUTTypeSpotlightImporter * * a Spotlight metadata importer * * UTI: com.apple.metadata-importer * conforms to: com.apple.plugin * * * kUTTypeQuickLookGenerator * * a QuickLook preview generator * * UTI: com.apple.quicklook-generator * conforms to: com.apple.plugin * * * kUTTypeXPCService * * an XPC service * * UTI: com.apple.xpc-service * conforms to: com.apple.bundle, com.apple.package * * * kUTTypeFramework * * a Mac OS X framework * * UTI: com.apple.framework * conforms to: com.apple.bundle * */ @available(iOS 3.0, *) public let kUTTypeFolder: CFString @available(iOS 3.0, *) public let kUTTypeVolume: CFString @available(iOS 3.0, *) public let kUTTypePackage: CFString @available(iOS 3.0, *) public let kUTTypeBundle: CFString @available(iOS 8.0, *) public let kUTTypePluginBundle: CFString @available(iOS 8.0, *) public let kUTTypeSpotlightImporter: CFString @available(iOS 8.0, *) public let kUTTypeQuickLookGenerator: CFString @available(iOS 8.0, *) public let kUTTypeXPCService: CFString @available(iOS 3.0, *) public let kUTTypeFramework: CFString /* * kUTTypeApplication * * base type for OS X applications, launchable items * * UTI: com.apple.application * conforms to: public.executable * * * kUTTypeApplicationBundle * * a bundled application * * UTI: com.apple.application-bundle * conforms to: com.apple.application, com.apple.bundle, com.apple.package * * * kUTTypeApplicationFile * * a single-file Carbon/Classic application * * UTI: com.apple.application-file * conforms to: com.apple.application, public.data * * * kUTTypeUnixExecutable * * a UNIX executable (flat file) * * UTI: public.unix-executable * conforms to: public.data, public.executable * * * kUTTypeWindowsExecutable * * a Windows executable (.exe files) * * UTI: com.microsoft.windows-executable * conforms to: public.data, public.executable * * * kUTTypeJavaClass * * a Java class * * UTI: com.sun.java-class * conforms to: public.data, public.executable * * * kUTTypeJavaArchive * * a Java archive (.jar) * * UTI: com.sun.java-archive * conforms to: public.zip-archive, public.executable * * * kUTTypeSystemPreferencesPane * * a System Preferences pane * * UTI: com.apple.systempreference.prefpane * conforms to: com.apple.package, com.apple.bundle * */ // Abstract executable types @available(iOS 3.0, *) public let kUTTypeApplication: CFString @available(iOS 3.0, *) public let kUTTypeApplicationBundle: CFString @available(iOS 3.0, *) public let kUTTypeApplicationFile: CFString @available(iOS 8.0, *) public let kUTTypeUnixExecutable: CFString // Other platform binaries @available(iOS 8.0, *) public let kUTTypeWindowsExecutable: CFString @available(iOS 8.0, *) public let kUTTypeJavaClass: CFString @available(iOS 8.0, *) public let kUTTypeJavaArchive: CFString // Misc. binaries @available(iOS 8.0, *) public let kUTTypeSystemPreferencesPane: CFString /* * kUTTypeGNUZipArchive * * a GNU zip archive (gzip) * * UTI: org.gnu.gnu-zip-archive * conforms to: public.data, public.archive * * * kUTTypeBzip2Archive * * a bzip2 archive (.bz2) * * UTI: public.bzip2-archive * conforms to: public.data, public.archive * * * kUTTypeZipArchive * * a zip archive * * UTI: public.zip-archive * conforms to: com.pkware.zip-archive * */ @available(iOS 8.0, *) public let kUTTypeGNUZipArchive: CFString @available(iOS 8.0, *) public let kUTTypeBzip2Archive: CFString @available(iOS 8.0, *) public let kUTTypeZipArchive: CFString /* * kUTTypeSpreadsheet * * base spreadsheet document type * * UTI: public.spreadsheet * conforms to: public.content * * * kUTTypePresentation * * base presentation document type * * UTI: public.presentation * conforms to: public.composite-content * * * kUTTypeDatabase * * a database store * * UTI: public.database * */ @available(iOS 8.0, *) public let kUTTypeSpreadsheet: CFString @available(iOS 8.0, *) public let kUTTypePresentation: CFString @available(iOS 8.0, *) public let kUTTypeDatabase: CFString /* * kUTTypeVCard * * VCard format * * UTI: public.vcard * conforms to: public.text, public.contact * * * kUTTypeToDoItem * * to-do item * * UTI: public.to-do-item * * * kUTTypeCalendarEvent * * calendar event * * UTI: public.calendar-event * * * kUTTypeEmailMessage * * e-mail message * * UTI: public.email-message * conforms to: public.message * */ @available(iOS 3.0, *) public let kUTTypeVCard: CFString @available(iOS 8.0, *) public let kUTTypeToDoItem: CFString @available(iOS 8.0, *) public let kUTTypeCalendarEvent: CFString @available(iOS 8.0, *) public let kUTTypeEmailMessage: CFString /* * kUTTypeInternetLocation * * base type for Apple Internet locations * * UTI: com.apple.internet-location * conforms to: public.data * */ @available(iOS 8.0, *) public let kUTTypeInternetLocation: CFString /* * kUTTypeInkText * * Opaque InkText data * * UTI: com.apple.ink.inktext * conforms to: public.data * * * kUTTypeFont * * base type for fonts * * UTI: public.font * * * kUTTypeBookmark * * bookmark * * UTI: public.bookmark * * * kUTType3DContent * * base type for 3D content * * UTI: public.3d-content * conforms to: public.content * * * kUTTypePKCS12 * * PKCS#12 format * * UTI: com.rsa.pkcs-12 * conforms to: public.data * * * kUTTypeX509Certificate * * X.509 certificate format * * UTI: public.x509-certificate * conforms to: public.data * * * kUTTypeElectronicPublication * * ePub format * * UTI: org.idpf.epub-container * conforms to: public.data, public.composite-content * * * kUTTypeLog * * console log * * UTI: public.log * */ @available(iOS 3.0, *) public let kUTTypeInkText: CFString @available(iOS 8.0, *) public let kUTTypeFont: CFString @available(iOS 8.0, *) public let kUTTypeBookmark: CFString @available(iOS 8.0, *) public let kUTType3DContent: CFString @available(iOS 8.0, *) public let kUTTypePKCS12: CFString @available(iOS 8.0, *) public let kUTTypeX509Certificate: CFString @available(iOS 8.0, *) public let kUTTypeElectronicPublication: CFString @available(iOS 8.0, *) public let kUTTypeLog: CFString
0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x