ios,swift2022. 10. 14. 15:10

 

[iOS]swift 언어영역 확인방법 

 

  let localeID = Locale.preferredLanguages.first

  let deviceLocale = Locale(identifier: localeID!).languageCode?.string ?? ""

  print("deviceLocale -> \(deviceLocale)")

Posted by thdeodls85