简体   繁体   English

ios 中的 PDFDocument 是 .pdf 文件吗?

[英]Is PDFDocument in ios a .pdf file?

I am able to create a PDFDocument from an image in ios and view it using PDFView.我能够从 ios 中的图像创建一个 PDFDocument 并使用 PDFView 查看它。 I would like to save this document.我想保存这个文件。 If I write this PDFDocument to a file system, is it a .pdf?如果我将此 PDFDocument 写入文件系统,它是 .pdf 吗?

根据PDFDocument.write(toFile:)的文档,似乎没有建议它写入有效的 PDF 文件以外的任何内容, PDFDocument的父页面表明该类主要存在于读取和写入/来自有效的 PDF 文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM