ti8m / DocumentHandler

A phonegap plugin to handle documents (f.e. PDFs) loaded from a URL.
MIT License
30 stars 70 forks source link

iOS 8 Compatibility #5

Open jeninto opened 10 years ago

jeninto commented 10 years ago

I am using your plugin to display a PDF and offer the user options to print or send the file via email. In iOS 7, there's no problem - but in iOS 8, the Quick Look UI is displayed but no document is shown.

In the device log, the following error is observed:

2014-09-04 15:26:03.668 AppName[386:61202] Warning: Attempt to present <QLPreviewController: 0x14c6af3b0> on <MainViewController: 0x14c50c470> whose view is not in the window hierarchy!
2014-09-04 15:26:06.768 AppName[386:61202] 17545849:_UIScreenEdgePanRecognizerEdgeSettings.edgeRegionSize=69.120000
2014-09-04 15:26:06.784 AppName[386:61202] Unbalanced calls to begin/end appearance transitions for <QLRemotePreviewContentController: 0x14d147e00>.
2014-09-04 15:29:40.628 AppName[386:61202] 17545849:_UIScreenEdgePanRecognizerEdgeSettings.edgeRegionSize=69.120000
2014-09-04 15:29:40.644 AppName[386:61202] Unbalanced calls to begin/end appearance transitions for <QLRemotePreviewContentController: 0x14c983c00>.

Also see the following screenshot. screen shot 2014-09-04 at 3 29 44 pm

EddyVerbruggen commented 9 years ago

Hi @jeninto I just tried this in the simulator with a random online PDF link and it worked fine. It could be one of the iOS 8 update has solved this in the meanwhile..

CrankyMero commented 9 years ago

im still having this issue and im on ios 8.2 on ipad 2, does anybody know how to fix this?

salilsethi commented 9 years ago

+1. I also have this on IOS 8 and 9. Any help will be appreciated