Objective-C – iOS5 font rendering has changed?
问题 In iOS4 (4.3 simulator) when I use the font Myriad Pro with the following font method for a cell: cell.titleLabel.font = [UIFont fontWithName:@"Myriad Pro" size:14]; It looks like this: In iOS5 (5.0 simulator) when I use the font Myriad Pro with the same font method it looks like this: Has anyone experienced this behaviour as well (perhaps with other fonts?). 回答1: When using +fontWithName:size: on iOS 5, the font name parameter needs to be the full name of the font file in your app bundle and