iphone - Detect country of iTunes Store in iOS -


this question has answer here:

in iphone app detect country of itunes store iphone user logged into, e.g. user usa direct him/her to: https://itunes.apple.com/us/album/21/id420075073 , user logged polish itunes store redirect him to: https://itunes.apple.com/us/album/21/id403037872

i know check locale (e.g. language),but might not work.

any ideas how achieve this?

nsstring *countrycode = [[nslocale currentlocale] objectforkey: nslocalecountrycode]; 

will identifier e.g. "us" (united states), "es" (spain), etc.

because find country means no problem. hope itunes store must device country.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

java - How to create Table using Apache PDFBox -

c# - Attempting to upload to FTP: System.Net.WebException: System error -