diff --git a/src/ios.m b/src/ios.m index 1d2545b2..5d65d78a 100644 --- a/src/ios.m +++ b/src/ios.m @@ -27,6 +27,7 @@ static void _start_initial_load(WKWebView* web_view) self.web_view = [[WKWebView alloc] initWithFrame:self.view.frame configuration:configuration]; self.web_view.UIDelegate = self; self.web_view.navigationDelegate = self; + self.web_view.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth; [self.view addSubview:self.web_view]; _start_initial_load(self.web_view); }