You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have NKDCode128Barcode generation problem.
The init with content "4091873".
The result I got is "04091873" using scanner.
Left-pad with zero if odd number of characters.
How can I fix the problem?
My code is below.
NKDCode128Barcode *barcode = [NKDCode128Barcode alloc];
barcode = [barcode initWithContent:@"4091873" printsCaption:NO];
[barcode setBarWidth:2.0];
[barcode setWidth:180.0];
[barcode setHeight:61.0];
NSLog(@"%@",[barcode description])
UIImage *theImage = [UIImage imageFromBarcode:barcode];
Original issue reported on code.google.com by [email protected] on 29 Feb 2012 at 1:49
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 29 Feb 2012 at 1:49The text was updated successfully, but these errors were encountered: