Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF annotations not showing #91

Open
workingDog opened this issue Apr 30, 2018 · 1 comment
Open

PDF annotations not showing #91

workingDog opened this issue Apr 30, 2018 · 1 comment

Comments

@workingDog
Copy link

Thanks for this great IOS-PDF-Reader. Your code works well in my App, however when the pdf document
contains some annotations, these do not display. Could you point me to
the area in the code where I could add modifications to display annotations as well.

@ranunez
Copy link
Collaborator

ranunez commented Apr 30, 2018

You should use Apple's PDFKit, which is a native way to display PDFs including those that contain annotations. Its really easy to setup and use.

For this codebase, you would need to modify the model layer PDFDocument to extract the annotations from the raw PDF file, and you would then modify the views to add and display the images/buttons corresponding to each annotation to the views.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants