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.
Asked
Active
Viewed 231 times
0

Jorn
- 1,054
- 9
- 25
1 Answers
1
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.

Community
- 1
- 1

Steven Jiang
- 1,006
- 9
- 21