I am trying to add signature to PDF using PDFKit.
What I have tried:
- add annotation as given by PDFKit framework.
- give annotation type to signature
- save annotation to PDFPage This is working fine
I have used extension to drag signature image to current PDFPage, but I can not rotate and pinch to zoom in/out it properly.
So, I have used stikerView having all this functionality (zoom, rotate, close signature view).
Problem:
- I have to add sticker view to PDFDocument not PDFPage as its nsobject
- So, it can move to all pages of PDF
- I am not getting exact rotation and frame of sticker view so that I can adjust frame and rotation of Annotation in PDFKit at the time of save
What are the best practices to give signature in PDFKit