Kevin W. answered 04/07/25
Math, Stats, Piano & Language Tutor – Learn with Confidence!
Unfortunately, this is a known limitation on iOS as iOS Safari does not currently support the zoom capability in mediaDevices.getUserMedia(). The WebKit implementation for iOS doesn't expose advanced camera controls like zoom, focus, or exposure through the standard MediaStreamTrack APIs.
You mentioned that when checking track.getCapabilities() on iOS, zoom isn't present — that confirms this limitation. iOS simply doesn't expose that feature at this time.
You can do these steps:
1. Fallback / UI notice
You could check for support and gracefully degrade your UI:
2. Use native app features (if possible)
If you need zoom functionality for a production use case on iOS, consider implementing it in a native wrapper (like via a PWA + native code or using Capacitor/Cordova + a camera plugin).
3. Track WebKit progress
The best we can do for now is follow progress from the WebKit team:
- https://webkit.org/status/ or raise visibility with a feature request on WebKit’s Bugzilla