Fix web view layout

This commit is contained in:
Scott Ludwig 2016-01-01 14:30:49 -08:00
parent aafb64cf70
commit 636484ea31

View File

@ -31,8 +31,8 @@
- (void)loadView {
// Create parent view for web view and toolbar
CGRect frame = CGRectMake(0, 0, parent_.frame.size.height,
parent_.frame.size.width);
CGRect frame = CGRectMake(0, 0, parent_.frame.size.width,
parent_.frame.size.height);
UIView *parentView = [[[UIView alloc] initWithFrame:frame] autorelease];
parentView.autoresizesSubviews = YES;
parentView.autoresizingMask = UIViewAutoresizingFlexibleHeight |