While working on a PDF reader application for iOS I had to dig up a lot of information on the web. Having completed the same I am putting down various options I found:
1. Starting with an easy method, Using UIWebView.
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(10, 10, 200, 200)];NSString *path = [[NSBundle mainBundle] pathForResource:@"document" ofType:@"pdf"];
NSURL *targetURL = [NSURL fileURLWithPath:path];
NSURLRequest *request = [NSURLRequest requestWithURL:targetURL];
[webView loadRequest:request];[self.view addSubview:webView];
Using the above code we can see the PDF document stored in a directory will be displayed in the web view.
2. Using VFR Library to quickly access, display, and browse PDF documents within our own applications.
Features like sliding PDF pages, displaying PDF pages at the bottom are available using this library.
Click on this link to get more details.
3. Using Leaves which is an open-source iOS component that simulates a page-turning transition between content views, much like the transition found in Apple’s official iBooks application.
Click on this link to get more details.
4. Using an open source framework called FastKitPDF.
Here we are having plenty of features such as searching text, zooming etc.
Click on this link to get more details.
Need help? Perfomatix | App Development Company
We are Perfomatix, one of the top mobile app development companies. We provide mobile app development services in building highly scalable android and iOS apps, and APIs. We also have strong expertise in IoT apps, Virtual Reality apps, and Augmented Reality apps. Get in touch with us to find out how we can help in shaping your disruptive idea into a prototype, MVP, and finally into a killer product. Visit our success stories section to find out more about some of the startups which made it big with us.
Would you like to know more about this?
Feel free to drop in a note for us right now. Talk to our experts now and let us be your innovation partner!