Post

Replies

Boosts

Views

Activity

WKWebview not showing pdf file in iOS devices.
Hi, i'm using Swift Language to develop iOS apps. my Query is: From the Web services API, i have download the pdf file into Document Directory (external path) in iPhone/iPad. Downloaded PDF file NOT showing on WKWebviewer in iPhone/iPad devices due to blocking(apple permission issue) the Document Directory (external path). it is showing empty gray colour. but Above behaviour is working fine in the iOS Simulator that pdf file is launching fine on WKWEbviewer and showing all the pages from the pdf file. How to give the read permission to Document Directory (external path) to launch the pdf file on WKWebview in iOS Devices ?
0
0
808
Nov ’22
WKWebview pdf file NOT working in iOS
i'm launching pdf file on WKWebview, it is working as expected that pdf file pages are showing in iOS Simulator but same behaviour NOT working in iOS Realtime devices (iPhone & iPad ). (empty page showing in gray colour) Please find that attached screenshot of issue. how to set the read permission for the WKWebviewer through the programmatically in iOS Swift Language? i have been using PDFTron WebViewer Third party library to launch the pdf files , if i use below line of code then working as expected in iOS simulator but NOT working in iOS devices.      WebView.configuration.preferences.setValue("TRUE", forKey: "allowFileAccessFromFileURLs")
Topic: Safari & Web SubTopic: General Tags:
1
1
1.4k
Nov ’22
WKWebView canvas memory issue
i'm using WKWebView to launch PDF Document (PDF Book). In my case, my file size is 224 MB pdf document.  2. After I launch a 224 MB file, until the 5th page blur issue is NOT appearing but from 6th page onwards Blur issue is Appearing  (this 224 MB file contains a total page count 5700). in iPhone Device only  3. Blur issue NOT Appearing for small size files of 3000 to 4000 Pages in iPhone Device Noe: Blur issue NOT Appearing for iPad Device How to Fix iOS reaching the canvas memory limit, allowing continuous mode to work again without issues on WKWebView ?
0
0
791
Jun ’21
The videos on iPhone does not remember last watched position / iPad doesn't remember video playback position / Resume video on iPad where you last left off
i'm launching the website in iPhone & iPad mobile browser like Safari / Chrome, the web site contains videos. i'm facing the issue while playing the video as mentioned below. In iPad – video starts over from beginning, does not resume from where the user left off. In iPhone – Video Resume is working by default Then why is it not working for iPad device ? Note: Video Resume is working by default in sandbox org but it is not working as mentioned in 1,2,3 points in Production org. here sandbox org & Production org mean just website url like "sandbox.myconpany.com" "production.myconpany.com" Please suggest what might be the issue ?
0
0
816
May ’21
issue with WKWebView i.e Unicode characters converting as junk letterrs
I have been using PDFTron third party Library which is used to Launch the .pdf/.doc/.xls/.ppt/.doc ....etc kind of documents pages on WKWebView. on the WkWebview, document (eg: .pdf document) is loading and showing the pages like a book. There is NO issue While adding Annotations on any page with "ENGLISH". There is an issue that While adding Annotations on any page with Other Language letters like Tamil/China/Japan ...etc language letters then those letters converting as JUNK letters in the WKWebviewer. It seems to that WKWebviewer is not supporting unicode characters as an annotations. Please suggest for the Fix. Using Versions: Language : Objective-C MAC OS: 10.15.7 XCode : 12.4
0
0
798
Mar ’21