Three iOS WebKit Traps That Blacked Out My AR Game, and How I Caught Them
1. The setup
The architecture is simple on purpose. One getUserMedia call, one hidden <video> element, two consumers. pixi.js 8 turns that element into a WebGL texture and draws the orb, the rings and the sparks on top. MediaPipe reads the same element to find the body and the hands, and it uploads its own texture every frame. On iOS all of this runs inside the WKWebView of a Capacitor app, which means WebKit.
The game has had a button to switch between the front and the rear camera since late August. On September 10 I installed a new build on my iPhone, recorded my screen while I played, and touched that button in the middle of a session.
Everything in this article comes from four screen recordings made in one evening, September 10, 2026. I am not going to tell you this happens on every iPhone or every iOS...
Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE