My application has a UILabel formatted as NSAttributedString with the attribute: 'NSKernAttributeName @ 1.9,'
- When the code below is compiled on an iPad running iOS6, the kernel works as expected.
- When compiling on an iPad running iOS7, no kerning occurs.
I registered Bug on the Apple Developer website. # 15108371 - There is no answer yet
NSString *formattedNumber; NSNumber *scoreNum = [[NSNumber alloc] initWithLongLong:thisScore]; NSNumberFormatter *formatter = [[NSNumberFormatter alloc] init]; formatter.numberStyle = NSNumberFormatterPadBeforeSuffix; formatter.formatWidth = 10; formatter.paddingCharacter = @"0"; formatter.numberStyle = NSNumberFormatterDecimalStyle; formatter.usesGroupingSeparator = NO; formattedNumber = [formatter stringFromNumber:scoreNum];
source share