iOS 13 and Password Protected PDFs

When I add a password to a PDF using Aspose and then open the PDF (with the correct password) in iOS 13, the document appears blank. Is this a known issue?

@amani7

Could you kindly share the problematic PDF along with its password so that we can check it in our environment. Furthermore, please share respective source PDF along with code snippet that you have used to set the password.

test 2019-10-27.pdf (98.5 KB)

Please find the file attached. The password is 1111. There should be text at the top of the document.

The code used is:
Document document = new Document(pdfFile);

document.Encrypt(userPassword, ownerPassword, 0, CryptoAlgorithm.RC4x128);

document.Save(outputFile);

@amani7

We are testing the scenario and will get back to you shortly.

We are also experiencing this problem on IOS 13 when rendering an excel workbook to PDF and the pdf is encrypted with a password. The PDF isn’t blank but it’s clipped. I just wanted to make sure whomever was working on this understood it’s not just the Aspose.PDF standalone.

@totaldis

Thanks for your inquiry.

In case you are facing same issue with Aspose.Cells, would you kindly create a post in Aspose.Cells forum so that you can be assisted accordingly.