Type Method

status()

Returns the state of the focus system, including information about the currently focused item.

Declaration

class func status() -> UIFocusDebuggerOutput

Discussion

Call this method from the lldb debugger using the following commands:

Listing 1

Getting help

po UIFocusDebugger.status()

The method returns information about the focus system and the currently focused item.

See Also

Getting Focus Information

class func checkFocusability(for: UIFocusItem) -> UIFocusDebuggerOutput

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

class func simulateFocusUpdateRequest(from: UIFocusEnvironment) -> UIFocusDebuggerOutput

Simulates a focus update request from the specified environment.

protocol UIFocusDebuggerOutput

An interface for specifying output from a focus debugger object.