1密码风格自定义操作菜单

发布于 2024-09-06 02:56:25 字数 289 浏览 0 评论 0原文

我有一个简单的问题。在 iPhone/iPad 上的 1Password 应用程序中,当您点击密码字段时,它会在上下文菜单中为您提供一个非标准选项。我想知道如何使用其他一些非标准选项(例如“复制/电子邮件/其他内容”)重新创建它。

** 这与密码和文本屏蔽无关

自定义操作菜单选项 http://cl.ly/b8e92af85937086308f3/content

I just have a quick question. In the 1Password app on the iPhone/iPad when you tap the password field it gives you a non-standard option in the context-menu. I was wondering how this could be recreated with some other non-standard options like "Copy/Email/Something else".

** This does not pertain to passwords and text masking

Custom Action Menu Options http://cl.ly/b8e92af85937086308f3/content

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迟月 2024-09-13 02:56:25

在 iPad 以及运行 OS 4.0 或更高版本的 iPhone 上,您可以使用 UIMenuController 类的 menuItems 属性。如果他们在 3.2 之前的 iOS 版本上做同样的事情,那么它可能是一个定制的视图,看起来就像通常的上下文菜单。

On the iPad, and on the iPhone running OS 4.0 or later, you can use UIMenuController class's menuItems property. If they're doing the same thing on iOS versions prior to 3.2, then it's probably a custom-built view that just looks like the usual context menu.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文