- Home /
Open Url without quitting game (iPhone)
From Stinkbot: showWebView: show a webview with a given URL. No need to quit the app and go to Safari to show a web page! Note: I have removed this from the current build until I can figure out a way to implement it for iPhone Advanced only; I don't want to step on Unity's toes.
Is such a feature still in the iPhone advance? Or now in both, or gone for good? It was listed in the features of the unity store, but not anymore. I loved that feature, I hate quitting the app to see other games of the company or news etc. little things like that.
The command was Application.OpenURL. It is now also in the free version integrated, but it opens the website in safari, so after quitting the application. There must be a way to open a simple page without quitting unity. Would be great to create a manual or infos like that.
Answer by bliprob · Dec 10, 2009 at 02:40 AM
Hey, I'm Stinkbot! That feature is in the Enhancement Pack 1.5, a third party add-on for Unity iPhone. It's not part of Unity itself. It creates a UIWindow with a UIWebView that displays the web site you specify. That way the user won't quit the game, unless they click a URL that gets handled by some other app (i.e. an app store link, or a tel: protocol handler, etc.)
Your answer
![](https://koobas.hobune.stream/wayback/20220613171824im_/https://answers.unity.com/themes/thub/images/avi.jpg)