Commit 2cfee98a authored by David Cordero's avatar David Cordero

Replace deprecated preferredView method by preferredFocusEnvironment

parent 3a9b4d86
......@@ -65,9 +65,8 @@
[self stopAnimation];
}
- (UIView *)preferredFocusedView
{
return self.blablaTextView;
- (NSArray<id<UIFocusEnvironment>> *)preferredFocusEnvironments {
return @[self.blablaTextView];
}
- (void)scrollToTop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment