-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Forms9Patch webview.toPDF crashes without exception on iOS-Device #103
Comments
I have a similar problem but with try catch block i got this exception: "WebView has zero width or Height". I'm using iOS 15.0 with a Physical device. System : Xcode 13.1, Visual studio 8.10.13 |
Same issue on ios 14.4 with physical device. |
See my answer for #106 - lmk if it works for you. |
please help me for this issue. |
@xamdinesh : My apologies, I am no longer supporting Forms9Patch. If you're interested in seeing how to fix this in the source code, you can check out the most recent version of this functionality as implemented for the UNO Platform here: https://github.com/baskren/P42.Uno.HtmlExtensions. |
Description
Hello sir Baskren,
"the line in your example:
if (await webView.ToPdfAsync("output.pdf") is ToFileResult pdfResult)
crashes instantly even if the html-source of the webview contains only
"
the bug seems only to exist on iOS and not on Android, where everything works as expected.
The webview displays everything normaly.
Even in a try - catch - block it won't be catched...could it be a problem with rights?
Steps to Reproduce
Expected Behavior
getting a pdf to share
Actual Behavior
crash without exception to homescreen of ios-device
Basic Information
The text was updated successfully, but these errors were encountered: