GitToTheHub commented on code in PR #1667:
URL: https://github.com/apache/cordova-ios/pull/1667#discussion_r3438195395
##########
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:
I was thinking of adding a global macro `CDV_TARGET_OS_VISION` which is only
set when `TARGET_OS_VISION` is defined or is set to 1. What do you think?
--
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]