以PDF格式生成表格
问题描述:
我想在PDF中创建一个表格,其中的数据来自我的iPhone应用程序。我怎么能这样做?
I want to create a table in a PDF, in which the data are coming from my iPhone app. How can i do that?
答
你可以用 Quartz 2D 实现同样的效果,我找到了一个优秀的教程:
You can achieve the same with Quartz 2D, I found an excellent tutorial for this :
如何在iOS 5教程第2部分中使用Quartz 2D创建PDF
How To Create a PDF with Quartz 2D in iOS 5 Tutorial Part 2