I am using PDFKit in iOS 11 via Xcode 9.
When I open a PDF file contains ink annotations, PDFDocument(url:) perfectly opens it and shows everything great.
After I changed something and saved it using write(to:), all InkList array data lost and changed to empty arrays in the saved PDF file.
i.e., PDFDocument write(to:) method removes PDFAnnotation InkList array data.
I reported it as a bug some days ago but no reply yet.
Is there anything that I can do not losing InkList data using write(to:) method?