LUGenericQRCodeGenerator Class Reference
Inherits from | NSObject |
Declared in | LUGenericQRCodeGenerator.h LUGenericQRCodeGenerator.m |
Overview
LUGenericQRCodeGenerator
is used to build generic QR codes from arbitrary strings. Use
LUPaymentTokenQRCodeGenerator
to generate user QR codes for payment.
Tasks
-
colorizeCodes
property -
outputHeight
property -
outputWidth
property -
+ sharedGenerator
-
+ QRCodeFromString:
Properties
colorizeCodes
When enabled, QR codes will be colorized to match the LevelUp logo. Defaults to YES
.
@property (nonatomic, assign) BOOL colorizeCodes
Discussion
When enabled, QR codes will be colorized to match the LevelUp logo. Defaults to YES
.
Declared In
LUGenericQRCodeGenerator.h
Class Methods
QRCodeFromString:
Generates a UIImage
containing a QR code.
+ (UIImage *)QRCodeFromString:(NSString *)string
Parameters
- string
A string to be encoded as a QR code.
Return Value
A UIImage
containing the QR code.
Discussion
Generates a UIImage
containing a QR code.
Declared In
LUGenericQRCodeGenerator.h