How to detect the active iTunes store on the iPhone/iPod Touch/iPad?

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-03-29T19:04:01Z Indexed on 2010/04/05 17:13 UTC
Read the original article Hit count: 197

I'd like to be able to determine which store the user connects to from inside my app, so that I can direct them to some appropriate content for their device AND store. Does anyone know how to get this information?

Basically, if the user is in the UK, and connects to the UK store, I want my function/method to return GB, if in Korea, I want KR, Australia = AU etc. Any help would be appreciated.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk