Registration: improve scrolling on the reCaptcha screen

#2165
This commit is contained in:
manuroe
2019-01-17 16:02:55 +01:00
parent 20801b72aa
commit af192022ad
2 changed files with 4 additions and 0 deletions
@@ -1320,6 +1320,9 @@
reCaptchaWebView.translatesAutoresizingMaskIntoConstraints = NO;
[self.recaptchaContainer addSubview:reCaptchaWebView];
// Disable the webview scrollView to avoid 2 scrollviews on the same screen
reCaptchaWebView.scrollView.scrollEnabled = NO;
[self.recaptchaContainer addConstraints:
[NSLayoutConstraint constraintsWithVisualFormat:@"|-[view]-|"
options:0