gpt4 book ai didi

iphone - 如何为现有PDF文件设置所有者密码?

转载 作者:行者123 更新时间:2023-11-29 04:57:13 24 4
gpt4 key购买 nike

有人知道如何为现有 PDF 文件设置所有者密码吗?

最佳答案

CGPDFContextCreate 采用一个字典,您可以在其中传递所有者密码作为属性之一。

有关 CGPDFContxtCreate 的详细信息,您可以在 Apple 的引用文档中找到:

http://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CGPDFContext/Reference/reference.html#//apple_ref/c/func/CGPDFContextCreate

您可以在 Apple 文档中找到密码设置信息:

http://developer.apple.com/library/ios/documentation/GraphicsImaging/Reference/CGPDFContext/Reference/reference.html#//apple_ref/doc/constant_group/Auxiliary_Dictionary_Keys

关于iphone - 如何为现有PDF文件设置所有者密码?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7711235/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com