Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9514 Reply

    Igor Lipovac

    Hello,

    I am trying to integrate your SDK into my app and I have a problem.
    I have a trouble with pushing or presenting PlugPDFDocumentViewController, no matter what I do I always get the crash on the method in topic title. I am absolutely sure that the PDF is on the file path and it seems that everything is ok until I try push/present. Code sample:

    PlugPDFDocumentViewController *viewController = nil;
    @try {
    viewController = [PlugPDFDocumentViewController initWithPath:filePath
    password: nil
    title: title];
    }
    @catch (NSException *exception) {
    NSLog(@”Exception %@ %@”, exception.name, exception.description);
    }
    self.pdfViewController = viewController;
    viewController.view.frame = self.view.frame;
    [self.pdfViewController.documentView setContentWithFrame:self.view.frame];
    [self presentViewController:viewController animated:YES completion:nil];

    #9524 Reply

    Dr. Plug
    Moderator

    Hello, Igor Lipovac

    Thank you for Inquiry. Actually we didn’t reproduce same problem using your sample code.
    So could you give us a sample project that problem happens?
    if you give us a sample project, It would be nice clue to solve a problem.

    Best Regards,
    Dr.Plug

    #11279 Reply

    Jose Bravo

    Im experiencing the same problem inside -[PlugPDFPageView loadImageView]

    How did you solve this Igor?

    #11280 Reply

    Jose Bravo

    This problem was caused by an invalid key.

    Solved udpdating the bundle id.

    Thanks,

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: -[PlugPDFPageView loadImageView] crash
Your information: