NSMassFormatter can't convert grams to lbs (NSUnitMass) or display value
问题 I am trying to modernize my API calls and want to utilize NSMassFormatter . The problem is simple. I can't get any output (aiming for imperial locale). NSMeasurement's description is correct. How to make NSMassFormatter to display "123 lbs" weight automatically if I provide grams? NSNumber *weightInGrams = @(62453.0); NSMassFormatter *weightFormatter = [NSMassFormatter new]; weightFormatter.forPersonMassUse = YES; weightFormatter.numberFormatter.locale = [NSLocale localeWithLocaleIdentifier:@