I’m building a real-time game where the iPhone Duo hinge angle will drive a continuous in-game “reality shift” effect as the device opens and closes. For an interactive game, what update frequency and latency should developers expect from the hinge-angle APIs? Is it appropriate to use continuous hinge updates to drive visual state frame-by-frame, or should apps sample/debounce the values? Also, if the main renderer is not SwiftUI, for example Metal or Unreal Engine through a small native bridge, is there a recommended pattern for observing hinge changes and synchronizing them with the game render loop? I’m especially interested in any guidance around avoiding jitter, delayed updates, or excessive work during rapid folding/unfolding.
Thank you, that clarifies the timing expectations. We’ll avoid assuming a fixed update rate and evaluate light smoothing, using the latest hinge reading as a target for our existing game-loop animation. For a UIKit-hosted Metal/Unreal rendering view, would UIHingeInteraction be the recommended way to observe hinge changes without adding a SwiftUI overlay? Also, do the updates expose a measurement timestamp, or should we record callback-receipt time when evaluating responsiveness?