Merge pull request #64 from BasThomas/patch-2

Use readerVC instead of invalid 'reader'
This commit is contained in:
Yannick Loriot 2016-10-11 10:54:32 +02:00 committed by GitHub
commit d78bfd54d0
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ lazy var readerVC = QRCodeReaderViewController(builder: QRCodeReaderViewControll
// Presents the readerVC as modal form sheet
readerVC.modalPresentationStyle = .formSheet
present(reader, animated: true, completion: nil)
present(readerVC, animated: true, completion: nil)
}
// MARK: - QRCodeReaderViewController Delegate Methods