Swift MeasurementFormatter incorrectly converting distance to miles

前端 未结 0 1656
情书的邮戳
情书的邮戳 2020-12-01 05:24

I have a distance as a double that I wish to display in km. I am trying to use a MeasurementFormatter to format into a string using the code below. For some reason the forma

相关标签:
回答
  • 消灭零回复
提交回复
热议问题