GitToTheHub commented on code in PR #1699:
URL: https://github.com/apache/cordova-ios/pull/1699#discussion_r3861229086
##########
CordovaLib/Classes/Public/CDVViewController.m:
##########
@@ -578,6 +578,11 @@ - (void)onWebViewPageDidLoad:(NSNotification*)notification
}
}
+/**
+ * This is called initially when the WKWebView is initialized and also when
viewport-fit is changed.
+ * WebKit still doesn't expose
_webView:didChangeSafeAreaShouldAffectObscuredInsets: as public API,
+ * so we need to react based on the scrollView delegate.
+ */
- (void)scrollViewDidChangeAdjustedContentInset:(UIScrollView *)scrollView
Review Comment:
I used your suggestion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]