<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIRegion/byIntersection(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIRegion(im)regionByIntersectionWithRegion:"
  },
  "title" : "byIntersection(with:)"
}
-->

# byIntersection(with:)

Returns a new region containing only the area occupied by both the specified region and current region.

```
func byIntersection(with region: UIRegion) -> Self
```

## Parameters

`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.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)