Defines the frequency or stiffness characteristics of the spring.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The default value is
0, creating a rigid joint between the spring's two bodies. Setting the frequency to a low value, for example
0, creates a spring with slow oscillations that will settle slowly. Setting the frequency to a high value, for example
10, creates a stiffer spring with faster and fewer oscillations.