We are trying to sharing app content (WKWebView) which loads the PDF content URL and that should be displayed to all the participants as remote share. However, the application is not able to display the PDF content shared within a WKWebView and it just shows the page counter and scrolling, etc. so this means the WKWebView is shared but not the content view.
We followed the same code as mentioned in the sample project for sharing the local/remote content. LocalShareViewController.m RemoteShareViewController.m
We also tried with Zoom built-in meeting UI and it has the same issue. Can you please review and let us know the actual way of sharing the PDF file URL using the Zoom’s app share feature.
Which version?
4.6.15084.0206
To Reproduce
Steps to reproduce the behavior:
Go to MobileRTCSampleApp
Click on Meet Now button and start the Custom Meeting (*make sure you have the custom meeting option selected in the app settings)
Thank you for your kind reply. I will most definitely use the opportunity of letting you know in case I run into any similar issues or other kinds of issues with this in the future.
Of course, it is a plan. I wonder why did you need to share app content (WKWebView) which loads the PDF content URL and that should be displayed to all the participants as remote share. I believe you could have avoided this type of issue from the start if you had checked first if the application is able or not to display the PDF content shared within a WKWebView and what does it do in this situation. I prefer working with pdf documents, that’s why I use https://pdf-ocr.com every time when I need to convert other documents in a pdf format.
I just thought update here. So, this issue is purely related to when host tries to share app content (not broadcast screen-share) and in that if you have a view that’s hold WKWebview which has to open PDF link/url than the content will not be shown.
I managed to fixed this issue by using Apple’s PDFKit framework for showing the PDF link instead of using the WKWebView.
I do really hope that in the latest zoom ios client does have the fix for WKWebView manage to show the content on remote user side.
HEY! @usman.awan , I work on an app that is having a similar problem, pdf issues sharing app content fails for pdf’s with WKwebview. We recently were required to upgrade from UIWebview to WKwebview, after which we had issues. Got any example code of using to PDFKit instead?