Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 4th, 2012  |  syntax: None  |  size: 0.27 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Is it possible to write/annotate on the pdf that has been loaded
  2. document = CGPDFDocumentCreateURL((CFURL)pdfURL);
  3. page = CGPDFDocumentGetPage(document, 1);
  4. CGContextRef ctx = UIGraphicsgetCUrrentContext();
  5. CGContextScaleCTM(ctx, 1.0,-1.0);
  6. CGContextDrawPDFPage(ctx, page);