Zooming in iOS app

On my iPhone/iPad, if I use safari and go to HA website, I can zoom with pinching, but chrome and the app do not zoom.

Is there a way to let the app zoom into camera streams or zoom in general?


1 Like

Hi all, this should actually work on many browsers, or you can check the option in iOS app for example. But I noticed it didn’t work on Fully Kiosk Browser, for example. To fix that you can do the following:

Put this in a file called zoom-enable.js in your config/www folder

document.querySelector("meta[name=viewport]").setAttribute("content", "width=device-width, viewport-fit=cover");

Add this to your configuration.yaml:

    - /local/zoom-enable.js

Restart and bob’s your uncle.

In the iOS app’s App Configuration under General you can enable pinch-to-zoom without needing to inject JavaScript.