简体   繁体   English

通过HTML或Javascript自定义iOS UI元素?

[英]Custom iOS UI Element via HTML or Javascript?

On an iPad, if you are on a web page, and select a block of text, a menu bar appears with a few options Copy | 在iPad上,如果您在网页上并选择一个文本块,则会显示一个菜单栏,其中包含几个选项。 Select All | 全选| Define ... 定义...

Does anyone know how do add custom options to this menu, via HTML or javascript? 有谁知道如何通过HTML或javascript将自定义选项添加到此菜单?

You can't. 你不能 To see what extensions Mobile Safari makes available to Web content, check out the Safari Web Content Guide on Apple's developer site. 要查看Mobile Safari可用于Web内容的扩展,请查看Apple开发者网站上的Safari Web Content Guide。

https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/Introduction/Introduction.html https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/Introduction/Introduction.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM