mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-04 00:36:23 +00:00
Fix tvOS build
This commit is contained in:
parent
9e91d136bf
commit
c2620b8321
@ -123,7 +123,10 @@
|
|||||||
- (void)updateOverlayText:(NSString*)text {
|
- (void)updateOverlayText:(NSString*)text {
|
||||||
if (_overlayView == nil) {
|
if (_overlayView == nil) {
|
||||||
_overlayView = [[UITextView alloc] init];
|
_overlayView = [[UITextView alloc] init];
|
||||||
|
#ifndef TARGET_OS_TV
|
||||||
[_overlayView setEditable:NO];
|
[_overlayView setEditable:NO];
|
||||||
|
#endif
|
||||||
|
[_overlayView setUserInteractionEnabled:NO];
|
||||||
[_overlayView setSelectable:NO];
|
[_overlayView setSelectable:NO];
|
||||||
[_overlayView setScrollEnabled:NO];
|
[_overlayView setScrollEnabled:NO];
|
||||||
[_overlayView setTextAlignment:NSTextAlignmentCenter];
|
[_overlayView setTextAlignment:NSTextAlignmentCenter];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user