byIntersection(with:)
Returns a new region containing only the area occupied by both the specified region and current region.
Declaration
func byIntersection(with region: UIRegion) -> SelfParameters
- region:
The region to be intersected with the current region.
Return Value
A new region that contains only the points that are in both the current region and the shape specified by the region parameter.