iPhone Quartz Demo, rerender PDF

How should I modify the QuartzDemo that comes with the iPhone so that it re-renders the PDF view like UIWebView does when you zoom in?

Cheers

Nik

Answers


Got an answer from Apple, sharing it here for completeness:

Apple doesn't have any sample code that demonstrates how to do this at the moment, but Bill Dudney (who is now an evangelist at Apple) has a great blog post about using the CATiledLayer on the iPhone to draw PDFs. I would suggest taking a look at his two posts on the CATiledLayer class http://bill.dudney.net/roller/objc/entry/tiledlayer_on_the_iphone and http://bill.dudney.net/roller/objc/entry/catiledlayer_example.

Cheers

Nik


Need Your Help

Edit database row using php page

php html mysql database edit

I am trying to produce a spreadsheet like page - right now ive got the information from the database being displayed and an additional page allowing the user to add information.

Excel pivot table: display rows filtered, but keep total for all rows (unfiltered)

excel pivot-table

I have a pivot table where I filter the data by month. The thing is I need a total column for all months. Is it possible to somehow ignore a select column from being filtered? Or maybe there is a w...