iOS Question Validate PDF

Alex_197

Well-Known Member
Licensed User
Longtime User
Hi all.

Is there any option to validate a PDF to make sure that the file isn't corrupted?

Let's say a user has a pdf on his phone. In my app he needs to select a pdf, view it and if it's Ok click a button Send and send it to the server. But what if the PDF on his phone is corrupted or damaged and can't ve opened? I want to check it and if it the case notify the user about it.

Thanks.
 
What is the value of PDFDocument.NumberOfPages?
[CODE lang="b4x" highlight="4"]Copying updated assets files (3)
Application_Start
Application_Active
pdf.NumberOfPages=0
Application_Inactive
Application_Active
[/CODE]
 
Upvote 0
Back
Top