Can now stream to tvOS

This commit is contained in:
Diego Waxemberg
2018-08-26 11:31:20 -07:00
parent 485dd4b001
commit f5b99b6b9c
3 changed files with 12 additions and 2 deletions

View File

@@ -76,7 +76,7 @@
}
}
#if TARGET_OS_IPHONE
#if TARGET_OS_IPHONE && !TARGET_OS_TV
// Set mouse delta factors from the screen resolution and stream size
CGFloat screenScale = [[UIScreen mainScreen] scale];
CGRect screenBounds = [[UIScreen mainScreen] bounds];