Fix tvOS build
This commit is contained in:
parent
9e91d136bf
commit
c2620b8321
1 changed files with 3 additions and 0 deletions
|
|
@ -123,7 +123,10 @@
|
|||
- (void)updateOverlayText:(NSString*)text {
|
||||
if (_overlayView == nil) {
|
||||
_overlayView = [[UITextView alloc] init];
|
||||
#ifndef TARGET_OS_TV
|
||||
[_overlayView setEditable:NO];
|
||||
#endif
|
||||
[_overlayView setUserInteractionEnabled:NO];
|
||||
[_overlayView setSelectable:NO];
|
||||
[_overlayView setScrollEnabled:NO];
|
||||
[_overlayView setTextAlignment:NSTextAlignmentCenter];
|
||||
|
|
|
|||
Loading…
Reference in a new issue