0

I am using PDFKit to edit, draw and then share PDFs in other applications like mail, WhatsApp, etc.. Able to share the file after editing but when I try to share the PDF after drawing something, I am unable to share it. Those drawings are not there in the PDF after sharing. Please tell me, can we share the PDF with drawings using PDFKit?

Catherine
  • 654
  • 5
  • 15

1 Answers1

0

Make sure you save your pdf file into the local storage and next the easiest approach would be to use the UIActivityViewController to share the file.

Bio-Matic
  • 793
  • 1
  • 8
  • 20
  • Yes, I saved and I'm using DocumentInteractionController to share but nothing worked – Catherine Mar 27 '18 at 12:19
  • Use UIActivityViewController. – Bio-Matic Mar 27 '18 at 12:22
  • No, we should use UIDocumentInteractionController. I am able to share but the drawings are not there in the shared file. That's my problem – Catherine Mar 27 '18 at 12:22
  • Why you need to stick to UIDocumentInteractionController? Their interface is the same, popover from the bottom. – Bio-Matic Mar 27 '18 at 12:24
  • I was unable to share in some applications when I used UIActivityViewController and that's not at all a prblm. I can share the PDF with all editing operations except this draw – Catherine Mar 27 '18 at 12:27