A description of the distance between the edges of two rectangles.
- macOS 10.10+
- UIKit for Mac 13.0+Beta
- Xcode 6.1+
Edge insets describe the distance between the edges of one rectangle to a related rectangle that can be described by measuring a constant but edge-specific distance from each edge.
A common use for this structure is to describe the relationship between a view’s frame and its alignment rectangle.