<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIFocusDebugger/checkFocusability(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIFocusDebugger(cm)checkFocusabilityForItem:"
  },
  "title" : "checkFocusability(for:)"
}
-->

# checkFocusability(for:)

Returns information about whether the item can become focused, including any known issues that would prevent the item from becoming focused.

```
class func checkFocusability(for item: any UIFocusItem) -> any UIFocusDebuggerOutput
```

## Parameters

`item`

The focus item to evaluate.

## Return Value

An object the focus debugger uses to store the results that it will format for display.

## Discussion

Call this method from the `lldb` debugger using the following command. In the example, `item` corresponds to an object that adopts the [`UIFocusItem`](/documentation/UIKit/UIFocusItem) protocol.

```objc
po [UIFocusDebugger checkFocusabilityForItem: item]
```

The method returns the focus-related information, including known issues.

---

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)