Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDF Viewer iPad App [closed]

Tags:

ios

pdf

iphone

ipad

I'm looking to develop a custom PDF viewer for an iPad, which has features like:

  • bookmarks
  • search
  • deep linking
  • zoom
  • jump to specific page

Does anyone know a code solution similar to this? I'm currently looking at Ghostscript but am having a problem finding other options.

like image 598
wajiw Avatar asked Feb 09 '11 19:02

wajiw


People also ask

Why can't I view PDF files on my iPad?

If you're trying to open a PDF on an iPad or iPhone and it appears blank, you need to set Adobe Reader as your default for opening PDF files on your device. 💡Tip: Select the Preview icon to quickly preview PDFs without downloading them.

Why is my PDF viewer not working?

Try resetting the display preference in your browser to clear up the viewing issue. In Reader or Acrobat, right-click the document window, and choose Page Display Preferences. From the list at left, select Internet. Deselect Display PDF in browser, and then click OK.

Where did my PDF go on my iPad?

But where do you find the PDF files that you've saved on your iPad? They're stored in the iBooks app, but you might have to change collections to see them. Collections are essentially folders for the books and files stored in iBooks. By default, all PDF files are stored in the PDF collection.

How do I get PDFs to open in app instead of browser?

Method 1: Change Open With Behavior Step 1: Open File Explorer and go to the folder where your PDF file is located on your Windows 10 PC. Step 2: Right-click on the file and choose Open with. If Adobe reader is listed, click on it. Otherwise, click on Choose another app and select Adobe Reader.


1 Answers

For a simple and effective PDF viewer, you can now (iOS 4.0+) use the QuickLook framework:

QLPreviewController *previewController = [[QLPreviewController alloc] init];
previewController.dataSource = self;
previewController.delegate = self;
previewController.currentPreviewItemIndex = indexPath.row;
[self presentModalViewController:previewController animated:YES];
[previewController release];

You need to link against QuickLook.framework and #include <QuickLook/QuickLook.h>

For anything more complex, just grab the excellent PSPDFKit.

like image 73
Joshua J. McKinnon Avatar answered Oct 19 '22 23:10

Joshua J. McKinnon