---
title: inverse()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiregion/inverse()
---

# inverse()

Returns a new region that’s the mathematical inverse of the current region.

## Declaration

```swift
func inverse() -> Self
```

## Return Value

Return Value A new region whose contents include all points that are not in the current region.

## Discussion

Discussion The inverse of the infinite region is an empty region.

## See Also

### Creating complex regions

- [byDifference(from:)](uikit/uiregion/bydifference(from:).md)
- [byIntersection(with:)](uikit/uiregion/byintersection(with:).md)
- [byUnion(with:)](uikit/uiregion/byunion(with:).md)
