title: iOS: Sample Code or Examples for CGPDFContextAddDocumentMetadata
body: <p>I need to embed some custom meta data to a PDF file using the Apple's Objective C SDK. Is there any working sample code available that does that?</p>
  
  <p>What I need is very basic. Open an existing pdf and add some meta data and then save it. </p>
  
  <p>Example of information stored will be like.... a customer's name, contact number, items ordered.</p>
  
  <p>I saw that this "CGPDFContextAddDocumentMetadata" supports metadata but I don't know how the meta data look like and how is it used passed to this function.</p>
  
  <p>Any help will be greatly appreciated...:)</p>