Skip to content
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

[Question] Why isn't scalesPageToFit supported in WKWebView ? #483

Closed
rbadr opened this issue Apr 5, 2019 · 1 comment
Closed

[Question] Why isn't scalesPageToFit supported in WKWebView ? #483

rbadr opened this issue Apr 5, 2019 · 1 comment

Comments

@rbadr
Copy link

rbadr commented Apr 5, 2019

Hello,

Coming from the legacy implementation of the webview in react native, I used to use scalesPageToFit prop to make the content scale to fit the view, unfortunately this behavior is no longer supported with the new WKWebView.

Is there a reason it is not supported ? I can still use UIWebView but it is deprecated.

Thanks

@Titozzz
Copy link
Collaborator

Titozzz commented Apr 15, 2019

https://forums.developer.apple.com/thread/112191 This is an Apple limitation. You can overcome it by adding #447 (comment)

@Titozzz Titozzz closed this as completed Apr 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants