A runtime object for debugging focus-related interactions.


@interface UIFocusDebugger : NSObject


You do not use this class or its methods directly from your code. During a debugging session, you can call the methods of this class from the lldb debugger command line to obtain information about the current state of the focus system.


Getting Help

+ help

Returns information about how to use the commands of the debugger object.

Getting Focus Information

+ status

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

+ checkFocusabilityForItem:

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

+ simulateFocusUpdateRequestFromEnvironment:

Simulates a focus update request from the specified environment.


An interface for specifying output from a focus debugger object.


Inherits From

See Also

Debugging Support

Debugging Focus Issues in Your App

Find errors and determine why the next focused item isn't what you expected.