iOS Safari has device sensors disabled by default. In such case (or when DeviceOrientation API is not supported ), fall back to scroll based image movement- when image appears in the viewport, animate vector values X and Y from -0.5 to 0.5 along some kind of bezier curve to achieve smooth parallax effect until image disappears from the viewport
iOS Safari has device sensors disabled by default. In such case (or when DeviceOrientation API is not supported ), fall back to scroll based image movement- when image appears in the viewport, animate vector values X and Y from -0.5 to 0.5 along some kind of bezier curve to achieve smooth parallax effect until image disappears from the viewport