In order to display fonts from the UIFonts framework, I'm now creating a listview. To use, UIPasteboard.general.string the fonts are not copied to the clipboard and only the plain text is transferred. I've tried including the MobileCoreServices framework and use kUTTypeRTF to implement it.
But there isn't any in-depth material available.
Would you please tell me how to create a custom font list that allows text to be selected, styled, and pasted into other programmes (like Notes or Facebook posts) precisely like the font generator offered online?
I'm now working on the next two UIFonts, however I can't paste from the clipboard without losing the formatting.
let fonts: [String] = ["BodoniSvtyTwoOSITCTT-Book", "ChalkboardSE-Regular"]