Brett
Brett

Reputation: 2635

QLPreviewController & Keynote

I'm using a QLPreviewController to present a keynote presentation. The keynote file is 4.8MB and my app keeps crashing because its trying to load the whole presentation into memory at once. Am I missing something here?

Is there a way of loading each slide as a QLPreviewItem then presenting these one at a time (without expanding the .key file and pulling out each slide thumbnail one by one, which sort of defeats the object of being able to use the controller to preview iWork files).

Thanks,

Brett

Upvotes: 2

Views: 867

Answers (1)

yoyo
yoyo

Reputation: 71

  1. I dont think the QLPreviewController load all the pages at once
  2. 4.8M is a supported size , cant be the reason of crash

so, read carefully the error message, maybe another exception cause the crash

Upvotes: 2

Related Questions