'Exception Missing header' iOS on (instancetype)initWithFilepath: (NSString*)filepath;

9 views
Skip to first unread message

Claire Poza

unread,
Feb 13, 2018, 3:55:29 PM2/13/18
to PDFTron PDFNet SDK

I'm getting this error through Crashlytics. 

Is there any method to catch a corrupt PDF File?

Fatal Exception: PDFNet Exception
Exception: Message: Header not found Conditional expression: false Version : 6.7.1.53210N Filename : Parser.cpp Function : SkipHeader Linenumber : 984

Ryan

unread,
Feb 19, 2018, 4:47:07 PM2/19/18
to PDFTron PDFNet SDK
That is a standard exception, so you should be able to catch the exception thrown by PDFNet.

Is that not the case?
Reply all
Reply to author
Forward
0 new messages