Created
July 12, 2021 17:42
-
-
Save atulkhatri/3f2a3b92fe4b624f5e98902c0fc48709 to your computer and use it in GitHub Desktop.
tvOS Bootcamp Detail Screen 4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override func didUpdateFocus(in context: UIFocusUpdateContext, with coordinator: UIFocusAnimationCoordinator) { | |
super.didUpdateFocus(in: context, with: coordinator) | |
print("Previous focused item: \(String(describing: context.previouslyFocusedView)) \nNext focused item: \(String(describing: context.nextFocusedView)) \nFocus direction: \(context.focusHeading.rawValue)") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment