Created
September 10, 2015 20:53
-
-
Save bachand/6061a51345939e26e4bf to your computer and use it in GitHub Desktop.
Requesting Focus Update from Within Focus Hierarchy
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
// animalsViewController.preferredFocusedView => catButton | |
animalsViewController.setNeedsFocusUpdate() | |
animalsViewController.updateFocusIfNeeded() | |
// UIScreen.mainScreen().focusedView => catButton |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment