byDifference(from:)
Returns a new region created by subtracting the specified region from the current region.
Declaration
func byDifference(from region: UIRegion) -> SelfParameters
- region:
The region to be subtracted from the current region.
Return Value
A new region that contains the points that are in the current region and not in the area defined by the region parameter.