Post

Replies

Boosts

Views

Activity

Comment on MeasurementFormatter not behaving correctly
I do too and I can just recommend to who ends in this thread to fix it with the following if formatter.locale.measurementSystem == Locale.MeasurementSystem.metric && unit == UnitMass.grams && value < 1000 { formatter.unitOptions = .providedUnit } else { formatter.unitOptions = .naturalScale }
Topic: UI Frameworks SubTopic: AppKit Tags:
Jul ’23