Commit 44ec83df authored by Felix Paul Kühne's avatar Felix Paul Kühne

about view: add missing autoresizing masks

parent e11b2234
......@@ -28,13 +28,15 @@
{
self.view = [[UIView alloc] initWithFrame:[UIScreen mainScreen].bounds];
self.view.backgroundColor = [UIColor VLCDarkBackgroundColor];
self.view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
_webView = [[UIWebView alloc] initWithFrame:[UIScreen mainScreen].bounds];
_webView = [[UIWebView alloc] initWithFrame:self.view.frame];
_webView.clipsToBounds = YES;
_webView.delegate = self;
_webView.backgroundColor = [UIColor clearColor];
_webView.opaque = NO;
_webView.scrollView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
_webView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self.view addSubview:_webView];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment