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
-
colorizeCodesproperty -
outputHeightproperty -
outputWidthproperty -
+ sharedGenerator -
+ QRCodeFromString:
Properties
colorizeCodes
When enabled, QR codes will be colorized to match the LevelUp logo. Defaults to YES.
@property (nonatomic, assign) BOOL colorizeCodesDiscussion
When enabled, QR codes will be colorized to match the LevelUp logo. Defaults to YES.
Declared In
LUGenericQRCodeGenerator.hClass Methods
QRCodeFromString:
Generates a UIImage containing a QR code.
+ (UIImage *)QRCodeFromString:(NSString *)stringParameters
- 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