Hinge state

How often is onHingeChange delivered: every frame, or smoothed and throttled? Is it called with the initial context when the view appears, or only on change? Is there a guaranteed angle range and precision?

Answered by Frameworks Engineer in 906533022

How often is onHingeChange delivered: every frame, or smoothed and throttled?

As mentioned here, there is no guaranteed update frequency or angle increment. That's decided by the system due to multiple factors:

https://developer.apple.com/forums/thread/847866

Is it called with the initial context when the view appears, or only on change?

This modifier will be called with the initial context when the view reaches a hierarchy that has hinge data.

Is there a guaranteed angle range and precision?

There is not.

How often is onHingeChange delivered: every frame, or smoothed and throttled?

As mentioned here, there is no guaranteed update frequency or angle increment. That's decided by the system due to multiple factors:

https://developer.apple.com/forums/thread/847866

Is it called with the initial context when the view appears, or only on change?

This modifier will be called with the initial context when the view reaches a hierarchy that has hinge data.

Is there a guaranteed angle range and precision?

There is not.

Hinge state
 
 
Q