سؤال

I need to use FIPS country codes in my app.

Is there a way to find them?

I've tried NSLocaleCountryCode but these codes are different than FIPS.

Does anyone know how can I do it?

هل كانت مفيدة؟

المحلول

The FIPS codes you're referring to are found easily using Google. However, here are pointers to where you can locate them:

Note that FIPS had been officially withdrawn for certain uses by the US Government, but that's probably not relevant to your particular use case.

Also, make sure you really need the FIPS codes, because they're quite similar to ISO country codes, but they are different and governed by different groups.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top