Hi everyone,
I’m working on a web app with some heavy JavaScript functionality, and I’ve noticed it runs much slower on iPhones compared to Android devices. This happens particularly when there are animations or DOM updates happening frequently.
I’ve tried optimizing my code by reducing DOM manipulation and using requestAnimationFrame for animations, but it still feels laggy on older iPhone models like the iPhone 8 or XR.
Does anyone have experience with improving JavaScript performance specifically for iOS Safari? Are there any iPhone-specific quirks or tools I should be aware of when debugging and optimizing?
Looking forward to hearing your tips! Thanks!