1

I use UIWebView to display pdf documents in my app. I read somewhere that UIWebView can present some vulnerabilities in terms of security; but I didn't understand if my encrypted pdf's can be stolen using these vulnerabilities. Should I quit to use UIWebView to protect my pdf's?

Thanks a lot.

ozo
  • 763
  • 7
  • 13

1 Answers1

1

You should use Quicklook Framework for displaying pdf as preview.

Use this nice tutorial for using this framework : preview-documents-with-qlpreviewcontroller

Hope it helps you.

Nishant Tyagi
  • 9,893
  • 3
  • 40
  • 61
  • 1
    At this page: http://stackoverflow.com/questions/8917368/display-encrypted-file-using-quicklook-framework-or-uidocumentinteractioncontrol; someone wrote that "QLPreviewController is using UIWebView underneath, and calls the loadRequest: to load the requested file." – ozo Aug 16 '13 at 06:22