SteMa
SteMa

Reputation: 3022

Open different websites from within an app

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

Answers (2)

sonics876
sonics876

Reputation: 957

  • Apple does allow Apps that just contain UIWebView pointing to a website.
  • Use NSString *countryCode = [locale objectForKey: NSLocaleCountryCode]; to find the Country code
  • Using a simple condition, set the URL relavent to the country code.

Upvotes: 2

Mikecito
Mikecito

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

Related Questions