这是代码: -
lblValue
是 UILabel 的一个实例。
[lblValue setText:@"Some Big String"];
[lblValue setTextAlignment: NSTextAlignmentJustified];
错误:*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'textAlignment does not accept NSTextAlignmentJustified'