File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,8 @@ - (void)viewDidLoad
202
202
self.webView = [[UIWebView alloc ] initWithFrame: self .view.bounds];
203
203
self.webView .delegate = self;
204
204
self.webView .scalesPageToFit = YES ;
205
+ self.webView .autoresizingMask = (UIViewAutoresizingFlexibleWidth |
206
+ UIViewAutoresizingFlexibleHeight);
205
207
[self .view addSubview: self .webView];
206
208
}
207
209
Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ - (void)viewDidLoad
135
135
self.webView = [[UIWebView alloc ] initWithFrame: self .view.bounds];
136
136
self.webView .delegate = self;
137
137
self.webView .scalesPageToFit = YES ;
138
+ self.webView .autoresizingMask = (UIViewAutoresizingFlexibleWidth |
139
+ UIViewAutoresizingFlexibleHeight);
138
140
[self .view addSubview: self .webView];
139
141
}
140
142
You can’t perform that action at this time.
0 commit comments