Posts

Post not yet marked as solved
0 Replies
439 Views
Under iOS 11 and iOS 12, flat RTFD files could be quicklooked using QLPreviewController.Now, under iOS 13, this is no longer the case.Is this deliberate, or is it a known regression? Or just a plain bug?
Posted Last updated
.
Post not yet marked as solved
8 Replies
4.6k Views
I tried using QLThumbnailGenerator in Simulator for iOS and iPadOS, but it won't work at all.All I receive is an error:QLUbiquitousItemFetcher: could not create sandbox wrapper. Error: Error Domain=NSPOSIXErrorDomain Code=22 "couldn't issue sandbox extension com.apple.quicklook.readonly for 'path-to-file': Invalid argument" UserInfo={NSDescription=couldn't issue sandbox extension com.apple.quicklook.readonly for 'path-to-file': Invalid argument} #PreviewItemOn the actual device (at least on iPadOS), it works the first time the app is launched, then it doesn't anymore, returning a "The file couldn't be opened" error.Am I doing something wrong, or is this a known issue?All I do is use QLThumbnailGenerationRequest and QLThumbnailGenerator's -generateBestRepresentationForRequest:
Posted Last updated
.