taking pic animation on the view instead on the layer
This commit is contained in:
parent
79dc74b4eb
commit
f990d7f559
|
@ -819,9 +819,9 @@ RCT_ENUM_CONVERTER(CKCameraZoomMode, (@{
|
||||||
|
|
||||||
if ( isCapturingStillImage ) {
|
if ( isCapturingStillImage ) {
|
||||||
dispatch_async( dispatch_get_main_queue(), ^{
|
dispatch_async( dispatch_get_main_queue(), ^{
|
||||||
self.previewLayer.opacity = 0.0;
|
self.alpha = 0.0;
|
||||||
[UIView animateWithDuration:0.25 animations:^{
|
[UIView animateWithDuration:0.35 animations:^{
|
||||||
self.previewLayer.opacity = 1.0;
|
self.alpha = 1.0;
|
||||||
}];
|
}];
|
||||||
} );
|
} );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue