fix(iOS相机): 移除自动低光增强配置

移除了iOS相机插件中手动启用低光增强的代码,避免和系统相机自动逻辑冲突
This commit is contained in:
“虞渠成” 2026-07-23 14:48:57 +08:00
parent f6d96eb877
commit 2acd61f832
2 changed files with 33 additions and 5 deletions

View File

@ -32,11 +32,6 @@ extern "C" {
} }
} }
// 启用低光增强(昏暗环境提高识别率)
if ([device respondsToSelector:@selector(setAutomaticallyEnablesLowLightBoostWhenAvailable:)]) {
device.automaticallyEnablesLowLightBoostWhenAvailable = YES;
}
[device unlockForConfiguration]; [device unlockForConfiguration];
NSLog(@"[CameraFocusHelper] 已启用连续自动对焦"); NSLog(@"[CameraFocusHelper] 已启用连续自动对焦");

View File

@ -0,0 +1,33 @@
fileFormatVersion: 2
guid: bfac996797a54a14fa60abaaaf887145
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
userData:
assetBundleName:
assetBundleVariant: