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

View File

@@ -736,9 +736,7 @@ static NSMutableSet* hostList;
}
_boxArtCache = [[NSCache alloc] init];
[self setAutomaticallyAdjustsScrollViewInsets:NO];
hostScrollView = [[ComputerScrollView alloc] init];
hostScrollView.frame = CGRectMake(0, self.navigationController.navigationBar.frame.origin.y + self.navigationController.navigationBar.frame.size.height, self.view.frame.size.width, self.view.frame.size.height / 2);
[hostScrollView setShowsHorizontalScrollIndicator:NO];