mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-28 14:25:07 -06:00
Fix web view layout
This commit is contained in:
parent
aafb64cf70
commit
636484ea31
@ -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 |
|
||||
|
||||
Loading…
Reference in New Issue
Block a user