0

I want to create PDF with proper format like proper text and image would be on proper format like normal PDF file. I know how to create PDF with image and text but I don't know how to format it & I also know that PDF can be converted from HTML by displaying it's content on webview and capturing its screen in image and converting it into PDF. But is there any another way or any tag available like HTML. Or is there any third party tool available for this issue.

4

1 回答 1

0

您可以使用标准 Cord Graphics 2D 函数创建 PDF 绘图内容CGPDFContextCreate,然后像在屏幕上绘图一样进行绘图。另请参阅此问题:iOS SDK - 以编程方式生成 PDF 文件

于 2012-03-21T14:13:24.513 回答