init(payload:isCompact:rowCount:columnCount:)
Initializes an PDF417 code descriptor for the given payload and parameters.
Declaration
init?(payload errorCorrectedPayload: Data, isCompact: Bool, rowCount: Int, columnCount: Int)Parameters
- errorCorrectedPayload:
The data to encode in the PDF417 code symbol.
- isCompact:
A Boolean indicating whether or not the PDF417 code is compact.
- rowCount:
The number of rows in the PDF417 code, from 3 to 90.
- columnCount:
The number of columns in the Aztec code, from 1 to 30.
Return Value
An initialized CIPDF417CodeDescriptor instance or nil if the parameters are invalid