From 636484ea31d375cd0e811f465e6f42bab7c75391 Mon Sep 17 00:00:00 2001 From: Scott Ludwig Date: Fri, 1 Jan 2016 14:30:49 -0800 Subject: [PATCH] Fix web view layout --- game/iphone/webviewcontroller.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/iphone/webviewcontroller.mm b/game/iphone/webviewcontroller.mm index 45e9b5e..6dfe33d 100644 --- a/game/iphone/webviewcontroller.mm +++ b/game/iphone/webviewcontroller.mm @@ -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 |