Questions tagged [pdfview]

A Macintosh or iOS object that encapsulates the functionality of PDFKit and which can be dropped into an interface using Xcode's Interface Builder.

179 questions
0
votes
1 answer

Opening a PDF stored in local memory in a PDFView SWIFT

I have downloaded a pdf file to my cache memory.Now I wish to open this PDF file in a PDFView. I have added a PDFView to my ViewController, here is the code for the same. let pdfView = PDFView() override func viewDidLoad() { super.viewDidLoad() …
Raj Mohan
  • 47
  • 1
  • 9
0
votes
1 answer

issue while preview pdf from remoteURL

i am implementing pdf preview in my Swift app so i have decided to use third party library for Preview PDF i am using below library Please Check Library Here so first i am download url and store to document directory and than i am displaying it but…
Green
  • 15
  • 7
0
votes
1 answer

Add 'PageSetupAccessory' to PrintPanel for PDFDocument

I have an app which displays a PDFView, and I want it to print the PDF file from the view. Also, I want the Print panel to show the Page Setup Accessory (i.e. the Paper Size, Orientation and Scale settings, like in Preview, which appear as one panel…
benwiggy
  • 1,440
  • 17
  • 35
0
votes
1 answer

Why my WKWebview or PDFViewer only works in iPhone XR simulator

I have local pdf files in a document directory. My code calls each one to display using WKWebview or PDFViewer, but it only shows on an iPhone XR simulator, but not on any other simulator devices. Any devices which are older than XR, it shows an…
JohnMiky
  • 51
  • 5
0
votes
1 answer

Extract data from fillable pdf swift

I need to extract the data that is typed into a fillable pdf in swift. When I try to retrieve the data using pdf.string I get the text right before and after the fillable box but not the text in the box. Does anyone know how to get the data in the…
Will Buxton
  • 53
  • 1
  • 8
0
votes
1 answer

the function nextTapped does not move to next pdf page

function nextTapped and function previousTapped show this error " Use of unresolved identifier 'pdfView'; did you mean 'PDFView'? " I want from function nextTapped move to next pdf page and function previousTapped move to previous pdf page when i…
0
votes
1 answer

PDFView backgroundColor when using usePageViewController

when I set the usePageViewController on my PDFView instance pdfView?.usePageViewController(true, withViewOptions: nil) I can no longer set the backgroundColor with pdfView?.backgroundColor =.red I have to(I assume) set it at the pageViewController…
RyanTCB
  • 7,400
  • 5
  • 42
  • 62
0
votes
1 answer

Display PDF in browser instead of downloading from URL

Using Angular 6, I am making a API call to get the path of the pdf file in S3 bucket. Using this i need to display the PDF. But instead it is downloading the PDF to local client machine. Currently i am appending the url returned by the API to an…
UI Dev
  • 167
  • 1
  • 4
  • 13
0
votes
2 answers

Swift 4: Change / Clear PDFView content

I want to use PDFView framework in Swift 4. (https://developer.apple.com/documentation/pdfkit/pdfview) The following function receives a path to a PDF document. If the path is valid, the PDF file is successful shown. A problem occurs, when I call…
PascalS
  • 975
  • 1
  • 16
  • 40
0
votes
3 answers

PdfDocument in PdfView is crash with unrecognised selector instance in Objective C

I am using Xcode 9.4 with Objective C. I want display pdf file using PDFView as per the below code PDFView * pdfView = [[PDFView alloc] initWithFrame:CGRectMake(0, 0, 100, 100)]; NSString* path = [[NSBundle mainBundle] pathForResource:@"abc"…
Lucky
  • 325
  • 1
  • 3
  • 16
0
votes
1 answer

How to know when user swipes to next page in PDFView? - Android

I'd like to ask about how to know when the user swipes to next page in PDFView in android. pdfView = findViewById(R.id.pdfView); pdfView.fromAsset("aday.pdf") .defaultPage(0) .enableSwipe(true) …
Mahmoud Ashour
  • 327
  • 4
  • 11
0
votes
1 answer

PDF Kit View is not inside my Xcode Objects Library

I'm currently using Xcode Version 10.1 (10B61), MacBook Pro (Late 2011) 10.13.6 High Sierra. I want to add a PDF Kit View into my storyboard but it is just not listed inside the Objects Library.
0
votes
1 answer

Android: how test PDFView in Roboelectric?

I used PDFView to display PDF files, which was a success. But I don't know how to test this method in unit tests. com.github.barteksc.pdfviewer.PDFView pdfview = mainView.findViewById(R.id.pdfview); public void showDocument(final InputStream…
alice
  • 23
  • 7
0
votes
1 answer

android print from pdfview

I have an app is working with PDFView. Today I added buttons for print by send data to printer directly. Do you have any solution, how to print data from PDFView just click on button. Note: Below image have 2 buttons but my purpose need only one…
Khoem Vichet
  • 331
  • 3
  • 12
0
votes
1 answer

How do I implement text to speech on a PDF that's already loaded to PDFView

I'm trying to implement a text to speech in my application. First, I have implemented PDFview that allows me to pick PDF files from my device and load it. What I want to achieve is that after loading this PDF to the PDFview, I want to read the…
Mcbaloo
  • 157
  • 5
  • 18