Address several iOS and tvOS compilation warnings

This commit is contained in:
Cameron Gutman
2019-09-15 15:46:23 -07:00
parent d4576a8739
commit 9a9b9651a1
4 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ static float L3_Y;
_edgeDelegate = swipeDelegate;
_deadTouches = [[NSMutableArray alloc] init];
_iPad = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);
_iPad = ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad);
_controlArea = CGRectMake(0, 0, _view.frame.size.width, _view.frame.size.height);
if (_iPad)
{