Background
I am trying to open some files via QuickLook. I have a .docm and a .pdf that I was able to reproduce this error with. At first I thought it was due to macro enabled Microsoft Office documents, but since I get an error with a 100+MB pdf I'm wondering if it is something wrong with QuickLook.
Error
[default] View service did terminate with error:
Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)"
UserInfo={Message=Service Connection Interrupted} #Remote
This error gets repeatedly thrown from QuickLook. From what I have seen this error seems to only be common when using a simulator and trying to send an email. I am using an iPhone 7+ and can reproduce every time.
I'm wondering if maybe the files I am using have issues with them.
Testing
I have tried the following files with varying results
- 100MB .pdf - Success
- 100MB .doc - Success
- 17MB .docm - Failure
- 85MB .docx - Success
- 100MB .pdf - Failure (different than the first, this one loads the file but flashes it repeatedly until it goes to the "error" QuickLook screen)
Questions
Is there any size limitations or time out on QuickLook that could be causing this strange error?