Logging view will layout subviews to figure out the off-page rotation issue.

This commit is contained in:
Samuel Clay 2015-09-28 20:24:05 -07:00
parent 41d0423c5b
commit e780cb0213

View file

@ -250,9 +250,9 @@
- (void)viewWillLayoutSubviews { - (void)viewWillLayoutSubviews {
[super viewWillLayoutSubviews]; [super viewWillLayoutSubviews];
[self changeWebViewWidth]; [self changeWebViewWidth];
[self drawFeedGradient]; [self drawFeedGradient];
NSLog(@"viewWillLayoutSubviews: %.2f", self.webView.scrollView.bounds.size.width);
} }
#pragma mark - #pragma mark -