Minor fixes in ASViewController and Multiplex sample.

This commit is contained in:
Huy Nguyen
2015-09-16 23:28:12 +03:00
parent 07c0d78c71
commit 72d108cd98
3 changed files with 10 additions and 12 deletions

View File

@@ -33,7 +33,8 @@
- (void)viewWillLayoutSubviews
{
ASSizeRange constrainedSize = ASSizeRangeMake(self.view.bounds.size, self.view.bounds.size);
CGSize viewSize = self.view.bounds.size;
ASSizeRange constrainedSize = ASSizeRangeMake(viewSize, viewSize);
[_node measureWithSizeRange:constrainedSize];
[super viewWillLayoutSubviews];
}