iPhone - 使用文本和图像创建 PDF
我在我的应用程序中输入了一些用户输入的文本,并且图像是从相机捕获的。 我想使用文本和图像创建 PDF? 我知道如何创建 PDF,如 URL PDF 创建
但我不知道如何使用文本和图像创建 PDF。 有人能给我推荐一些好的教程或一些示例代码吗?
I've some text entered by user in my app and image is captured from camera.
I want to create a PDF using the text and image?
I know how to create a PDF as mentioned in URL PDF Creation
But I don't know how to create a PDF using both text and image.
Can some one suggest me good tutorial or some sample piece of code?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您提到的链接中提供的示例行中,您可以执行类似的操作 -
您可以以类似的方式使用 CGContextDrawImage 来显示图像。
HTH,
阿克谢
On the lines of the example provided at the link you mentioned, you can do something like-
You can use
CGContextDrawImage
in a similar fashion to display the image.HTH,
Akshay