Sunday, December 30, 2012

Open url in new mobile safari instance?: Window.open()

Hi,

I have a Button, when clicked, I'd like to open a url in a new browser instance. The following works on desktop:

    Window.open(url, "_blank", null);

When I run the same code in a UIWebView on ios, nothing happens. Ideally I'd like to open a new instance of mobile safari directed to that url. Does anyone have any ideas of how to do this? I can fall back on catching the url in my objective-c code, but ideally there's something we could do directly in javascript to trigger mobile safari to open,

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/I8bFQxZfxp4J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment