vfr / uxreader-ios Goto Github PK
View Code? Open in Web Editor NEWUXReader PDF Framework for iOS
License: Other
UXReader PDF Framework for iOS
License: Other
Hi,
I just run demo application it's working perfectly, I need to only search document over pdf, but it's libpdfum.a file size is too long, after integrating with APP, size will be drastically increased. can it be reduced or any other option so that app size will not be increased?
Thank you
Hello,
Im Paulo from mobile pdfium project on github.
I want your help to make it work with success on iOS. I made all changes to make it build correctly.
But the final library is not with all symbols and i don't know why.
Can you help me?
The travis CI is compiling it with success too. Can be a way to check it.
Thanks for any help you can provide :)
Any help will be nice for the community.
Hi,
Would it be possible for you to add a new function that allows opening a pdf from a data stream? Seems like it should be possible using CGPDFDocumentCreateWithProvider
how to hide toolbar title?
[readerViewController setTitle:@"something"];
ok set title for document is still working:
UXReaderDocument *document = [[UXReaderDocument alloc] initWithURL:targetURL]; [document setTitle:@"sometitle"];
so embarrassed
Nice project for pdf rendering!
May I ask if this lib will support pdf bookmark feature?
Hi,
i've a Swift project, imported your library and compiled without error, but when i try to implement your code, Xcode doesn't recognise the import of UXReaderDocument and UXReaderViewController classes, ( i've tried also to import theme inside my bridge header class ) it suggest only .png files, so i can't implement your example code.
Any suggestion about this problem? can you give me a guide for swift project?
Thank you.
Hi,
I finished my script to build the PDFium to iOS. All is here with manual patchs:
https://github.com/prsolucoes/mobile-pdfium
But i have some issues after compile. All issues is described here:
paulocoutinhox/pdfium-lib#1
Can you help me?
1.connect iphone to Mac;
2.open itunes and select iPhone device;
3.choose File sharing,then choose Reader app;
4.add pdf files as you want;
5.sync to iPhone;
hope I can help others.
0 libobjc.A.dylib | objc_msgSend + 16 |
---|---|
1 UXReader | -[UXReaderDocumentPage renderTileInContext:] + 1032 |
2 UXReader | -[UXReaderPageTiledView drawLayer:inContext:] + 64 |
3 QuartzCore | -[CALayer drawInContext:] + 296 |
4 QuartzCore | tiled_layer_render(_CAImageProvider*, unsigned int, unsigned int, unsigned int, unsigned int, void*) + 1532 |
5 QuartzCore | CAImageProviderThread(unsigned int*, bool) + 812 |
6 libdispatch.dylib | __dispatch_client_callout + 16 |
7 libdispatch.dylib | __dispatch_queue_override_invoke$VARIANT$mp + 716 |
8 libdispatch.dylib | __dispatch_root_queue_drain + 600 |
9 libdispatch.dylib | __dispatch_worker_thread3 + 120 |
10 libsystem_pthread.dylib | _pthread_wqthread + 1268 |
Hello,
I downloaded the git compressed file of your project, attached a device and tried to run the reader project but I faced the following issue :
ld: library not found for -lpdfium
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help
Hi there,
Would it be possible for you to set this project up to work with Cocoapods?
Thanks in advance,
Matt
Hi @vfr,
I am wondering what would be necessary to provide a OSX compatible framework. Pdfium can be build for OSX and as far as I can see one would need to rewrite the UI handling from scratch. This means replacing UIKit with AppKit and therefore rewrite most of the views since UIKit works quite differently with UIView and UIViewController from what would be considered good API with AppKit and NSWindows/NSViewControllers/NSViews.
Are there any ambitions to make this repository compatible for cocoa applications or is this something which is out of scope ?
Best Regards,
David
Didn't had the time to figure out why, but there seems to be a problem with text colors / blue-red is switched somehow.
Hello ..
When I open the source code in xCode, and try to run it. I got this error:
UXReader Group
Apple Mach-O Linker (ld) Error Group
clang: error: linker command failed with exit code 1 (use -v to see invocation)
http://oi66.tinypic.com/wipkr4.jpg
And Now I am getting more than 58 error !!
I asked a developers. They said for me that I should order from you the full source code
Hi there,
This framework is really good while loading very big PDF's. But, while rendering PDF's and while loading thumbnails the app is freezes a lot.
Can I use this in commercial software? Thanks.
Hey! Thanks for the project, it's very great!
I have a problem: when I present the UxReaderView from the search result of a UITableView with UISearchController, when the close document button taped and it does not go back to the resultView.
Hello Julius!
Thanks for sharing this new project! I could not compile and run in the simulator.
Ld: warning: ignoring file /xxxx/xxxxxx/xxxxxx/UXReader-iOS-master/UXReader/UXReader/PDFium/libpdfium.a, missing required architecture x86_64 in file // xxxx / xxxxxx / xxxxxx / UXReader-iOS-master / UXReader /UXReader/PDFium/libpdfium.a (2 slices)
Using the command: lipo -info libpdfium.a
I get the response: Architectures in the fat file: libpdfium.a are: armv7 arm64
When compiling and running on the device it is freezing after opening a document.
Great library, thank you!
As we can't test it in the simulator, I would like to know if it respects already the safe area and particularly for the new iPhone X? If not, have you planned an update for that?
Regards,
Hey! Many thanks for the project, it's great!
Wanted to ask is it possible to add bitcode support?
Hello, it is a great project!
Can I make the document fill the screen?
I writen a URL like "http://localhost/xyz.pdf" into openDocumentURL function in ReaderViewController.mm file,
and its cannot open, alert "Document Open Error"File not in PDF format or corrupted".
pdf file URL hasprefix http like "http://localhost/xyz.pdf" not support
Please confirm,
ps: URL "http://localhost/xyz.pdf" is a real URL, i can open this URL in Chrome
`NSURL *URL = [[NSBundle mainBundle] URLForResource:@"pdf" withExtension:@"pdf"];;
UXReaderDocument *document = [[UXReaderDocument alloc] initWithURL:URL];
UXReaderViewController *readerViewController = [[UXReaderViewController alloc] init];
[readerViewController setDelegate:self];
[readerViewController setDocument:document];
[readerViewController setDisplayMode:UXReaderDisplayModeSinglePageScrollH];
UINavigationController *navController = (id)self.slideBarController.contentViewController;
[navController pushViewController:readerViewController animated:YES];
navController.navigationBar.hidden = YES;
[document openWithPassword:@"mypassword" completion:^(NSError * _Nullable error) {
if (!error) {
}
}];`
I try used code above but not work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.