fix(iOS相机): 移除自动低光增强配置
移除了iOS相机插件中手动启用低光增强的代码,避免和系统相机自动逻辑冲突
This commit is contained in:
parent
f6d96eb877
commit
2acd61f832
@ -32,11 +32,6 @@ extern "C" {
|
||||
}
|
||||
}
|
||||
|
||||
// 启用低光增强(昏暗环境提高识别率)
|
||||
if ([device respondsToSelector:@selector(setAutomaticallyEnablesLowLightBoostWhenAvailable:)]) {
|
||||
device.automaticallyEnablesLowLightBoostWhenAvailable = YES;
|
||||
}
|
||||
|
||||
[device unlockForConfiguration];
|
||||
|
||||
NSLog(@"[CameraFocusHelper] 已启用连续自动对焦");
|
||||
|
||||
33
Assets/Plugins/iOS/CameraFocusHelper.mm.meta
Normal file
33
Assets/Plugins/iOS/CameraFocusHelper.mm.meta
Normal 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:
|
||||
Loading…
x
Reference in New Issue
Block a user