I am doing PDF based application for iPad. It supports thumbnail view, Free hand comment, And annotations (Notes). Ya and I searched lot on net but I didnt find any relevant answer for making annotation on PDF using Quartz 2d.
We can get PDF page info using
CGPDFDictionaryRef CGPDFPageGetDictionary ( CGPDFPageRef page );
And using Annots
key.
bool CGPDFDictionaryGetArray ( CGPDFDictionaryRef dict, "Annots", CGPDFArrayRef *value );
you can get annotation for particular page. If I am right what is key for Notes and if it is there how to update page dictionary.
If i am wrong at all in above concern please let me know how Notes gets rendered on PDF. Or where PDF renderer gets info about Notes.?
Please let me know If any one knows ASAP. Really thanks in advance.