Reputation: 1044
I am trying to preview common files by using QLPreviewController
. The files I have stored are stored in Core Data
. The problem is that QLPreviewController
asks for a URL to the file, which I don't have. Is there a way of combining QLPreviewController
with Core Data
? The files I have are stored in the database itself, but with Allow external storage
checked, so some files might be stored separately.
Upvotes: 0
Views: 242
Reputation: 1004
It is better to store the path of binary data in core data.
This link explains well.
Storing images in Core Data or as file?
Hope it is helpful.
Upvotes: 1