Reputation: 3022
I would like to have an app which simple opens different websites for different languages. So the main purpose of the app is simple to redirect to an web app. My questions:
Thank You!
Upvotes: 1
Views: 100
Reputation: 957
NSString *countryCode = [locale objectForKey: NSLocaleCountryCode];
to find the Country codeUpvotes: 2
Reputation: 2063
1) Yes, it is allowed, though discouraged and highly annoying. I immediately uninstall apps that do this.
2) You'll have to setup localization for your app for each language you would like to represent
3) You simply setup a web site, and write it in the language you would like on the site. Localization will save time here, too.
Although this might draw some traffic to your sites, it is not a good business model and you should probably try to make your app do something of benefit for the user. If your app is useful, you will get more than enough traffic to your sites through gentle prodding or in-app announcements of some kind.
Upvotes: 2