CGRectGetMidY(_:)
Returns the y-coordinate that establishes the center of the rectangle.
Declaration
func CGRectGetMidY(_ rect: CGRect) -> CGFloatParameters
- rect:
The rectangle to examine.
Return Value
The y-coordinate of the center of the specified rectangle.