To run the example project, clone the repo, and run pod install
from the Example directory first.
QrCodeHelper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'QrCodeHelper'
QrCodeHelper can help you to generate the QrCode with multiple options:
- embeded image in the center
- invert the qr to have the transparent background effect
- apply the custom tint color to the QrCode
QrCodeHelper was created as part of UIImageView extension, all you need to do is call setQrCode funtions and give the appropriate param
imageView.setQrCode(embededContent: content)
you can of course add the desired options including .embeddedLogo, .invertedColor and .tintColor
imageView.setQrCode(embededContent: content,
options: [.embeddedLogo("logo", size: CGSize(width: 80, height: 80)),
.tintColor(color: .red)]
samrith.yoeun@gmail.com, sam.yoeun@pathmazing.com
QrCodeHelper is available under the MIT license. See the LICENSE file for more info.