简体   繁体   English

在 SwiftUI 中创建 pdf 文档 - (IOS 和 MacOS)

[英]Create pdf document in SwiftUI - (IOS and MacOS)

I am trying to build a billing( Invoice ) application in SwiftUI .我正在尝试在SwiftUI中构建计费(发票)应用程序。 that works on ipad and mac.适用于 ipad 和 mac。 i need some help in creating pdf documents, how to convert my data to a pdf document?我需要一些帮助来创建 pdf 文档,如何将我的数据转换为 pdf 文档?

iOS has PDFKit framework specifically used for creating and manipulating PDF type documents. iOS具有PDFKit框架,专门用于创建和操作PDF类型的文档。


Read more about PDFKit and how to use it in the following sources:在以下来源中阅读有关PDFKit以及如何使用它的更多信息:

Documentation文档

Blog post 博文

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

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