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

Window.MobileAccessibility.usePreferredTextZoom(true) does not work for IPAD - IOS #52

Open
christie1phl opened this issue May 5, 2021 · 2 comments

Comments

@christie1phl
Copy link

Window.MobileAccessibility.usePreferredTextZoom(true) does not work for IPAD - IOS. Please help

@dpa99c
Copy link

dpa99c commented Nov 24, 2021

You need to set the preferred content mode on iPadOS to mobile in config.xml:

<preference name="PreferredContentMode" value="mobile" />

see the Cordova docs for config.xml

@shamis
Copy link

shamis commented Jan 4, 2022

hi @dpa99c ,

have made this change but still on ipad the font size does not change. Have you made any other changes to make it work ?

<platform name="ios">
        <preference name="PreferredContentMode" value="mobile" />
        <allow-intent href="itms:*" />

even trying to use setTextZoom does nothing on the ipad
TIA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants