Let's say I'm displaying a webpage inside of native iPhone app called FooBar using UIWebView. I then want to display the name of the Application (in this case FooBar) I'm running inside the webpage dynamically (Hello Foobar). Is there a way through JavaScript (or any other mechanism) to get the App Name from within the HTML?
To think of another way. Let's say have I have web page that acts differently based on whether I open it through Safari on y Mac, Safari on my iPhone, my Foobar native App. Can I do that?