Possible Duplicate:
How to link to apps on the app store
I have a special need on my iPhone app. I have on my app some content that is linked to other content in iTunes. Of course, the link of the iTunes element is different for each store (contains /us/ or /fr/ or /gb/ etc.). So, in order to display to the user the right link (the one that will lead him to his store, and not to the error: "Not the good store"), I need that info. I don't want to use CoreLocation.
In fact, I need that because I'm retrieving the links from my API, and I send the country code to the API to return the correct links for the country.
Thanks,
Edit : Like I said in a comment below, NSLocale is not a perfect fit for me. It is what I am using, but the locale doesn't tell exaclty which store the user is on. For example, I have my phone set in English (US) and my store is the French one. So, I want to have FR, not US.
Edit 2 : I am talking about tv shows, not apps (for which there is a unique link that can be opened in any app store). Here is an example, for the pilot of stargate atlantis :
FR link => https://itunes.apple.com/fr/tv-season/une-nouvelle-ere-1ere-partie/id370061110?i=370381192&uo=4
US link => https://itunes.apple.com/us/tv-season/rising-pts.-1-2/id260813591?i=261784660&uo=4
Edit 3 : Apparently, the new iOS can handle to open links in the local store, even if the link is for another store.
But I still have a problem because some items are available in only one store. So, without the precise store, I may display links to the user that are not available in his local store.