cgpdfdictionaryref

iPhone: How do I get the title of a PDF document from within the document?

Assuming I have extracted the CGPDFDictionaryRef from a PDF document using the iPhone SDK, how do I get the document's title from the dictionary? More generally, how can I get a list of the keywords for that dictionary? In theory I could ask the customer, but surely there must be some canonical keywords? Is there a list somewhere? Up...

compare two CGPDFDictionary

Is the a way to compare two CGPDFDictionaries? There is a function memcmp, but it doesn't work for me, because dictionaries are in different memory cells. ...