Reputation: 1376
Does anyone have an idea about how to set owner password to existing PDF files?
Upvotes: 0
Views: 518
Reputation: 89569
CGPDFContextCreate takes a dictionary in which you can pass a owner password as one of the attributes.
The details for CGPDFContxtCreate you'll find in Apple's reference documents at:
And the password setting information you'll find in Apple's docs here:
Upvotes: 1