We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 44f4002 + 1c59038 commit 7288419Copy full SHA for 7288419
platform/macos/os_macos.mm
@@ -104,7 +104,7 @@
104
}
105
106
bool OS_MacOS::request_permission(const String &p_name) {
107
- if (@available(macOS 10.15, *)) {
+ if (@available(macOS 11.0, *)) {
108
if (p_name == "macos.permission.RECORD_SCREEN") {
109
if (CGPreflightScreenCaptureAccess()) {
110
return true;
@@ -124,7 +124,7 @@
124
Vector<String> OS_MacOS::get_granted_permissions() const {
125
Vector<String> ret;
126
127
128
129
ret.push_back("macos.permission.RECORD_SCREEN");
130
0 commit comments