fixed constraint ambiguity

This commit is contained in:
Haik Aslanyan
2020-04-15 15:45:55 +04:00
parent e43603db6c
commit bd1b7573a3
3 changed files with 10 additions and 2 deletions
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'RoundCode'
s.version = '1.0.0'
s.version = '1.0.1'
s.summary = 'Facebook messenger style custom barcode.'
s.description = <<-DESC
Encode and decode data into custom stylish barcode.
+2 -1
View File
@@ -42,8 +42,9 @@ public final class RCCameraViewController: UIViewController, UIImagePickerContro
private var circleLayer = CAShapeLayer()
private lazy var cameraView: UIView = {
let cameraView = UIView()
cameraView.backgroundColor = .black
cameraView.backgroundColor = .clear
self.view.addSubview(cameraView)
cameraView.translatesAutoresizingMaskIntoConstraints = false
cameraView.leadingAnchor.constraint(equalTo: self.view.leadingAnchor, constant: 0).isActive = true
cameraView.trailingAnchor.constraint(equalTo: self.view.trailingAnchor, constant: 0).isActive = true
cameraView.topAnchor.constraint(equalTo: self.view.topAnchor, constant: 0).isActive = true