up version and removed extra checker

This commit is contained in:
Ekaterina Mandravina 2021-11-29 11:41:20 +03:00
parent 3bf635e857
commit 446b08f78a
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'QRCodeReader'
s.version = '1.0.4'
s.version = '1.0.5'
s.summary = 'iOS framework contain core view elements and logic component for work with QR codes.'
s.homepage = 'https://github.com/TouchInstinct/QRCodeReader-ios'

View File

@ -143,9 +143,7 @@ open class QRCodeReader: NSObject, AVCaptureMetadataOutputObjectsDelegate {
// MARK: - Private Methods
private func configureDefaultComponents() {
if #available(iOS 9.0, *) {
session.sessionPreset = .hd4K3840x2160
}
session.sessionPreset = .hd4K3840x2160
for output in session.outputs {
session.removeOutput(output)