---
title: "checkFocusability(for:)"
framework: uikit
role: symbol
role_heading: Type Method
path: "uikit/uifocusdebugger/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.

## Declaration

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

## Parameters

- `item`: The focus item to evaluate.

## Return Value

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

## Discussion

Discussion Call this method from the lldb debugger using the following command. In the example, item corresponds to an object that adopts the UIFocusItem protocol. The method returns the focus-related information, including known issues.

## See Also

### Getting focus information

- [status()](uikit/uifocusdebugger/status().md)
- [focusGroups(for:)](uikit/uifocusdebugger/focusgroups(for:).md)
- [preferredFocusEnvironments(for:)](uikit/uifocusdebugger/preferredfocusenvironments(for:).md)
- [simulateFocusUpdateRequest(from:)](uikit/uifocusdebugger/simulatefocusupdaterequest(from:).md)
- [UIFocusDebuggerOutput](uikit/uifocusdebuggeroutput.md)
