byUnion(with:)
Returns a new region containing the combined areas of the specified region and the current region.
Declaration
func byUnion(with region: UIRegion) -> SelfParameters
- region:
The region to be combined with the current region.
Return Value
A new region that contains the points from both the current region and the shape specified by the region parameter.
Discussion
Combining any region with the infinite region returns the infinite region.