ILPDFKit icon indicating copy to clipboard operation
ILPDFKit copied to clipboard

WKPDFView on iOS12

Open StefanoBiasu opened this issue 6 years ago • 18 comments

Trying PDF renderization on ios12 beta versions, it seems that no form is editable. Root cause is that "WKPDFView" class, retrieved from webview.scrollview subviews, is no more a container of UIView, each one contaning a PDF page. Instead, WKPDFView is a UIView sized as the content of a single PDF page that wraps and hides all the page renderization of the PDF.

How/when is it going to be fixed? Thanks

StefanoBiasu avatar Aug 06 '18 11:08 StefanoBiasu

I'm also facing issues rendering acroforms forms in iOS 12 beta. Any suggestion on which classes would cause the form rendering to fail. Thanks

maneshlad avatar Aug 29 '18 03:08 maneshlad

Will fix, thanks

derekblair avatar Aug 30 '18 13:08 derekblair

Hello,

Any news on this ? @StefanoBiasu did you found a solution, seems you 've gone pretty far to find the root cause !

vassily-fr avatar Sep 20 '18 12:09 vassily-fr

Unfortunately there is no easy workaround. Since there are no more pages splitting, the entire annotation overlapping has to be re-engineered

StefanoBiasu avatar Sep 20 '18 13:09 StefanoBiasu

Hello, @derekblair any news ? Thanks

hamdibouasker avatar Sep 21 '18 07:09 hamdibouasker

omg... Why Apple makes things so complicated for devs always... Feel sorry for @StefanoBiasu

yarodevuci avatar Oct 23 '18 20:10 yarodevuci

Hi, I am facing issue with iOS 12.0.1. Not able to edit in PDF file. How can I fix it?

Thanks.

dennygajera avatar Oct 30 '18 07:10 dennygajera

Hi, I am facing issue while showing editable PDF in iOS 12 I am not able to edit that. I am waiting for updated version of this library.

Thanks.

ApexaChovatiya92 avatar Oct 30 '18 07:10 ApexaChovatiya92

I'm working on a solution, 'though it will take some time..

StefanoBiasu avatar Oct 30 '18 09:10 StefanoBiasu

Thank you @StefanoBiasu. Can you tell me exactly how much time it will take? So that we can wait accordingly

ApexaChovatiya92 avatar Oct 30 '18 11:10 ApexaChovatiya92

Can we us PDFView instead of WKWebView for fix this issue in iOS12?

KetulThakor avatar Nov 13 '18 05:11 KetulThakor

Any updates about this issue? @derekblair , @StefanoBiasu

KetulThakor avatar Nov 27 '18 13:11 KetulThakor

Hello guys, any update about this ?

saormart avatar Feb 01 '19 16:02 saormart

Hello guys, Please visit the below mentioned link for edit pdf in iOS12.

http://anysolutions.in/pdf-file-view-and-edit-in-ios-12/

dennygajera avatar Feb 03 '19 15:02 dennygajera

Hi, we can use the Apple's PDFView to render the pdf and then after completing the form, we can again convert that pdf to ILPDFKit document by initialising the ilpdfDocument with data using "pdfView.document.dataRepresentation]" (to use all the other features of ILPDFKit such as extracting form values).

ggnSwaitch avatar Jun 13 '19 01:06 ggnSwaitch

Did anyone figure out a solution on how to edit? The link above that references a link is dead.

psirigiano avatar Sep 22 '20 14:09 psirigiano

I must mixing both PDFKit of Apple and WKPDFView to resolve that issue.

tranthequang avatar Sep 23 '20 05:09 tranthequang

@tranthequang Do you have any basic example on how this is done?

psirigiano avatar Oct 06 '20 20:10 psirigiano