开发者

Javascript/iOS - Open in

开发者 https://www.devze.com 2023-04-01 13:19 出处:网络
Context: 开发者_运维技巧iPad, web-based inbrowser application I want to display the \"Open in...\" that allows the user to select from a list of editors (Goodreader, for example).

Context: 开发者_运维技巧iPad, web-based inbrowser application

I want to display the "Open in..." that allows the user to select from a list of editors (Goodreader, for example).

Preferable, I'd like to do this through Javascript.

Is it possible? How?


In don't think you have access to do that inside Mobile Safari, you can only provide the content as a download. Then Mobile Safari will render it inside the browser and provide the ability for the user to perform the Open in.. action.

Alternatively you could always write a native app wrapping a WebView that provides the ability to show a native Open in... dialog.

0

精彩评论

暂无评论...
验证码 换一张
取 消