Skip to content

Commit a177a60

Browse files
committed
update
1 parent 6a1c525 commit a177a60

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

音视频/2022AVFoundation/2022AVFoundation.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,13 @@ if ([self.captureSession canAddInput:videoInput]) {
8282
看看是否能支持聚焦
8383

8484
- iPhone6的前置摄像头是不支持聚焦的.
85-
- iPhone6P 6s 一声 前置摄像头才支持聚焦
85+
- iPhone6P 6s 一声 前置摄像头才支持聚焦
86+
87+
88+
89+
90+
## lockForConfiguration
91+
92+
因为配置时, 不能让多个对象对他进行更改, 所以要对该过程上锁
93+
94+
[-AVCaptureDevice lockForConfiguration]

0 commit comments

Comments
 (0)