2
我正在开发苹果电视的应用程序。我想移动焦点在特定的UiButton,但我不知道如何使用preferredFocusEnvironments而不是preferredFocusedView?如何使用preferredFocusedView for ios 10的preferredFocusEnvironments?
我能够使用preferredFocusedView,但对于此变量已被弃用。
所以任何人都可以帮我解决这个问题?
检查这个答案,请http://stackoverflow.com/questions/39479180/tvos-10-preferredfocusview-is-deprecated-how-do-i-change-to-preferredfocusenvi/39490125#39490125 –
感谢罗马Podymov。 –