Commit 807d6b6b4fc954d540c8d2545ed118ba5c7df0fb
1 parent
22c1d020
提交0.1.6
Showing
2 changed files
with
6 additions
and
4 deletions
CNLiveAVCamera.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveAVCamera' | 10 | s.name = 'CNLiveAVCamera' |
| 11 | - s.version = '0.1.5' | 11 | + s.version = '0.1.6' |
| 12 | s.summary = '自定义相机' | 12 | s.summary = '自定义相机' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveAVCamera/Classes/XFCameraController.m
| @@ -2279,9 +2279,11 @@ typedef void(^PropertyChangeBlock)(AVCaptureDevice *captureDevice); | @@ -2279,9 +2279,11 @@ typedef void(^PropertyChangeBlock)(AVCaptureDevice *captureDevice); | ||
| 2279 | 2279 | ||
| 2280 | [alertController addAction:okAction]; | 2280 | [alertController addAction:okAction]; |
| 2281 | // [alertController addAction:setAction]; | 2281 | // [alertController addAction:setAction]; |
| 2282 | - | ||
| 2283 | - [self presentViewController:alertController animated:YES completion:nil]; | ||
| 2284 | - weakSelf.isAlertShow = YES; | 2282 | + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ |
| 2283 | + [self presentViewController:alertController animated:YES completion:nil]; | ||
| 2284 | + weakSelf.isAlertShow = YES; | ||
| 2285 | + }); | ||
| 2286 | + | ||
| 2285 | 2287 | ||
| 2286 | } | 2288 | } |
| 2287 | }]; | 2289 | }]; |