The range of motion for the attachment behavior.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
For sliding attachments, this property defines the range of motion (measured in points) supported along the given axis of translation. The specified range must always contain the value 0, which represents the starting point of movement for items. Items slide along the axis between the minimum and maximum values you specify. Setting this property to
zero prevents items from sliding at all along their axis of translation.
For pin attachments, this property defines the amount of rotation (measured in radians) supported in the counter-clockwise and clockwise directions. The specified range must contain the value
0, which represents the starting angle of each item. Items rotate around the anchor point between the minimum and maximum values you specify. Setting this property to
zero prevents items from rotating at all.
The default value of this property is