2011-10-10 23 views

回答

1

CGPDFContextCreate需要一個字典,您可以在其中傳遞所有者密碼作爲屬性之一。

爲CGPDFContxtCreate,你會發現在蘋果的參考文件的細節:

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

你會在蘋果的文檔在這裏找到密碼設置信息:

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

相關問題