GitToTheHub commented on code in PR #1667:
URL: https://github.com/apache/cordova-ios/pull/1667#discussion_r3438200521
##########
CordovaLib/Classes/Public/CDVViewController.m:
##########
@@ -577,7 +577,7 @@ - (void)onWebViewPageDidLoad:(NSNotification*)notification
- (void)scrollViewDidChangeAdjustedContentInset:(UIScrollView *)scrollView
{
-#ifndef TARGET_OS_VISION
+#if !defined(TARGET_OS_VISION) || !TARGET_OS_VISION
Review Comment:
Also a comment could be added that this is only available since XCode 26 and
will be set to 1 if Vision OS is targeted.
--
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]