Browse Source

Replace deprecated preferredView method by preferredFocusEnvironment

David Cordero 6 years ago
parent
commit
2cfee98a30
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Apple-TV/VLCAboutViewController.m

+ 2 - 3
Apple-TV/VLCAboutViewController.m

@@ -65,9 +65,8 @@
     [self stopAnimation];
     [self stopAnimation];
 }
 }
 
 
-- (UIView *)preferredFocusedView
-{
-    return self.blablaTextView;
+- (NSArray<id<UIFocusEnvironment>> *)preferredFocusEnvironments {
+    return @[self.blablaTextView];
 }
 }
 
 
 - (void)scrollToTop
 - (void)scrollToTop