containerRelativeFrame(_:alignment:) | Apple Developer Documentation

Positions this view within an invisible frame with a size relative to the nearest container.