<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PencilKit",
  "identifier" : "/documentation/PencilKit/PKToolPicker/frameObscured(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PencilKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PKToolPicker(im)frameObscuredInView:"
  },
  "title" : "frameObscured(in:)"
}
-->

# frameObscured(in:)

Returns the portion of the specified view that the tool picker obscures.

```
func frameObscured(in view: UIView) -> CGRect
```

## Parameters

`view`

The view that’s potentially obscured by the tool picker’s palette.

## Return Value

The portion of `view` (in its own coordinate space) obscured by the palette.

## Discussion

Because the palette is transparent in places, part of your view’s content may continue to show through in the specified rectangle.

---

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)