SWIFT中扫描QRCode代码如下,照着敲一次再看下API的注释应该就没问题了。 SWIFT Scan QRCode refer to :https://github.com/hitourlee/Swift_QRCode