Latest 1.0.1
Homepage https://github.com/wangshiyu13/HLQRCodeScanner
License MIT
Platforms ios 8.0
Frameworks AVFoundation
Authors

License MIT
CI Status
[CocoaPods](http://cocoapods.org/?q= HLQRCodeScanner)
Support

Example

  • 导入框架
import HLQRCodeScanner
  • 打开扫描控制器,扫描及完成回调

let scanner = HLQRCodeScanner.scanner { (result) in
debugPrint(result)
}
showDetailViewController(scanner, sender: nil)
  • 生成二维码图片
let cardName = "wangshiyu13"
let avatar = UIImage(named: "avatar")

self.imageView.image = HLQRCodeScanner.createQRCodeImage(cardName, avatar: avatar, scale: 0.2)

Requirements

This library requires iOS 8.0+ and Xcode 7.0+.

Installation

HLQRCodeScanner is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "HLQRCodeScanner"

Author

wangshiyu13, [email protected]

License

HLQRCodeScanner is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "HLQRCodeScanner",
    "version": "1.0.1",
    "summary": "u5305u542b UI u754cu9762u7684u8f7bu91cfu7ea7u4e8cu7ef4u7801u626bu63cfu53cau751fu6210u6846u67b6",
    "homepage": "https://github.com/wangshiyu13/HLQRCodeScanner",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "wangshiyu13": "[email protected]"
    },
    "source": {
        "git": "https://github.com/wangshiyu13/HLQRCodeScanner.git",
        "tag": "1.0.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HLQRCodeScanner/Classes/**/*",
    "resources": "HLQRCodeScanner/Assets/HLQRCodeScanner.bundle",
    "frameworks": "AVFoundation"
}

Pin It on Pinterest

Share This