I want do draw lines, rectangles, ... on a full zoomable pdf (so without quality loss) in an iphone/ipad project.
First: I have based me on this sample: http://www.olivetoast.com/blog/2009/08/simple-uiscrollview-catiledlayer-pdf-example/ This sample makes it possible to zoom on a PDF with full quality
Second: And i have also based on this sample: http://www.iphonedevbook.com/forum/viewforum.php?f=1&sid=6d52a0d08a8c6a807cdedfde6a041088 The sample named QuartzFun of this book. It's for drawing a line, rectangle, ...
These two samples are working perfectly separate, but when i want to combine them i can't draw a line... For making thins more simple i have already combined the code here: http://www.megafileupload.com/en/file/297790/SimpleTiledScrollExample-1-zip.html
Can someone tell me what to change to let this work?
Thanks in advance