Search code examples
objective-ccocoaitunes

How to get the user's country based on iTunes setting?


I would like to get the user's country based on the settings on iTunes. Is there a file that I can read to get this data using objective-c?

Thanks


Solution

  • Why dont you get the current locale from the system? The NSLocale class provides the +systemLocale and +currentLocale class methods.