Class

UIFocusDebugger

A runtime object for debugging focus-related interactions.

Declaration

class UIFocusDebugger : NSObject

Overview

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.

Topics

Getting Help

class func help() -> UIFocusDebuggerOutput

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

Getting Focus Information

class func status() -> UIFocusDebuggerOutput

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

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.

Relationships

Inherits From

Conforms To

See Also

Debugging Support

Debugging Focus Issues in Your App

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software