Simulates a focus update request from the specified environment.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- UIKit
Declaration
+ (id<UIFocus Debugger Output>)simulateFocusUpdateRequestFromEnvironment:(id<UIFocus Environment>)environment;
Discussion
Call this method from the lldb
debugger using the following commands. In the examples, obj
corresponds to an object that adopts the UIFocus
protocol.
Getting help
po [UIFocusDebugger simulateFocusUpdateRequestFromEnvironment: obj]
The method simulates a focus update request, outlining each step of the process for determining the next focused item.