Swiftui, Swift, iOS App Development, iOS Development, Mobile App Development.
"zh_CN" { formatter.locale = Locale(identifier: "en-us") } return formatter } In the demo, only the prices of two currencies are provided. If the system’s region setting is not mainland China, the currency will be set to US dollars. Applying Formatter in Text Text(NSNumber(value: