Update icons & more

This commit is contained in:
ismailgulek
2021-02-17 16:50:46 +03:00
parent 6eb1a9102d
commit 9dc0a6ff7c
3 changed files with 65 additions and 38 deletions
+10
View File
@@ -145,6 +145,16 @@
self.localPreviewContainerView.layer.borderWidth = 2;
self.localPreviewContainerView.layer.cornerRadius = 5;
self.localPreviewContainerView.clipsToBounds = YES;
CAGradientLayer *gradient = [CAGradientLayer layer];
gradient.frame = self.switchCameraGradientContainerView.bounds;
gradient.colors = @[
(id)[UIColor colorWithWhite:0.0 alpha:0.0].CGColor,
(id)[UIColor colorWithWhite:0.0 alpha:1.0].CGColor
];
[self.switchCameraGradientContainerView.layer insertSublayer:gradient atIndex:0];
}
- (void)viewWillDisappear:(BOOL)animated