[英]iOS: popover over popover?
I'm developing a iPad app which has a popover which appears to show you a list of items.我正在开发一个 iPad 应用程序,它有一个弹出窗口,似乎向您显示项目列表。 I need the ability to delete one of the items, so I'm considering adding the ability to press-and-hold (aka long tap) on one of the list items which would show another popover for that item, with an action list showing a delete button.
我需要删除其中一个项目的能力,因此我正在考虑在其中一个列表项目上添加按住(又名长按)的能力,这将显示该项目的另一个弹出窗口,并显示一个操作列表一个删除按钮。
Two questions:两个问题:
Thanks!谢谢!
It's not a good idea, and I don't think it's possible even though it's possible.这不是一个好主意,即使有
可能,我也不认为这是可能的。
Apple's Human Interface Guidelines clearly state that you should not do it . Apple 的人机界面指南明确 state 你不应该这样做。 This is as definitive an answer as there can be regarding UX.
这是关于 UX 的明确答案。
For inspiration on how to delete items without requiring a popover, look at how UITableView
does it, for instance.有关如何在不需要弹出框的情况下删除项目的灵感,请查看
UITableView
是如何做到的,例如。
Often, you'll have an Edit button in the top toolbar inside the popover to trigger edit mode.通常,您会在弹出框内的顶部工具栏中有一个“编辑”按钮来触发编辑模式。
If you want some kind of confirmation dialog, use UIActionSheet
.如果您想要某种确认对话框,请使用
UIActionSheet
。 They look good and work well enough, especially in popovers.它们看起来不错并且工作得很好,尤其是在弹出窗口中。 In your case, I think these are the way to go.
就您而言,我认为这些是通往 go 的方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.