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

Initialization from NSData is not supported #31

Closed
edias opened this issue Jan 1, 2017 · 7 comments
Closed

Initialization from NSData is not supported #31

edias opened this issue Jan 1, 2017 · 7 comments

Comments

@edias
Copy link

edias commented Jan 1, 2017

At the moment the only initialization possible with the PDFDocument is from an URL string.

I was wondering me if there's any plan to implement a version to support initialization from NSData.

@pushchris
Copy link
Contributor

Initialization with NSData is already supported. See the following:
https://github.com/uxmstudio/UXMPDFKit/blob/master/Pod/Classes/Renderer/PDFDocument.swift#L93

@edias
Copy link
Author

edias commented Jan 1, 2017

Not on swift-2.3 branch

@edias
Copy link
Author

edias commented Jan 1, 2017

Any plans to support NSData on 0.3.0 version?

@pushchris
Copy link
Contributor

No, unfortunately the Swift 2.3 branch is no longer being actively developed. If you need that functionality, it should be easy enough to fork and implement that addition. You can reference the following commit where that was added: 104e8eb

@edias
Copy link
Author

edias commented Jan 2, 2017

hey @pushchris, I'm not able to see digital signature like for example this one just below.

The word 'test' is not displayed. This is something I'm missing or just a not supported feature?

6697225c-2d55-4792-b338-1761ee5283ac.pdf

@pushchris
Copy link
Contributor

Could you be a little bit more specific? Are you signing on another app and then loading the document into the reader? This is also a different issue than this thread, so if you wouldn't mind opening a new issue for this that would be appreciated.

@edias
Copy link
Author

edias commented Jan 12, 2017

Just moved here #34

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