registerViewProviderClass(_:forFileType:)
Registers a specific file type with the attachment view provider.
Declaration
class func registerViewProviderClass(_ textAttachmentViewProviderClass: AnyClass, forFileType fileType: String)Parameters
- textAttachmentViewProviderClass:
The text attachment view provider class.
- fileType:
A String that represents the file type.