[tvOS] Initial commit to make build run.

This commit is contained in:
Aaron Schubert
2016-01-12 14:43:30 +00:00
parent 516e1f177d
commit cc4f604ea3
13 changed files with 48 additions and 23 deletions

View File

@@ -48,12 +48,13 @@
[super didLoad];
ASCollectionView *cv = self.view;
#if TARGET_OS_IOS
cv.pagingEnabled = YES;
cv.scrollsToTop = NO;
#endif
cv.allowsSelection = NO;
cv.showsVerticalScrollIndicator = NO;
cv.showsHorizontalScrollIndicator = NO;
cv.scrollsToTop = NO;
// Zeroing contentInset is important, as UIKit will set the top inset for the navigation bar even though
// our view is only horizontally scrollable. This causes UICollectionViewFlowLayout to log a warning.