ios - Programmatically detect which app store the app was downloaded from -


i haven't found thread must ask: there way programmatically detect app store app downloaded from? (ie: germany app store)

i don't want have ask location privileges detect user location if there isn't way detect app store may have to.

i think you'd use current locale of user detect in country are… fail sometimes, i'm not sure if not 100% effective way detect appstore work you.

you'd need call

[[nslocale currentlocale] objectforkey: nslocalecountrycode] 

also, please see discussions in following threads, of them old, find alternatives solutions link1 , link2


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -