Sets the bounds for the specified box.
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
If the box does not exist, this method creates it for you.
To remove a box, pass
NSZero for the bounds (note that you cannot remove the media box). If the box bounds are not in range, this method throws a range exception.