ios - 我应该放入哪个 AlertView 按钮 "cancel"

标签 ios uialertview hig

我对 AlertViews 上的 Apple HIG 知之甚少。
我应该将哪个按钮放在警报 View 的左侧?

enter image description here

“跳过”将继续登录过程。
“更改”将让用户更改他/她的密码。

请帮助我。谢谢!

最佳答案

直接从 Apple 的 HIG 获取警报:

When the most likely button performs a nondestructive action, it should be on the right in a two-button alert. The button that cancels this action should be on the left.

When the most likely button performs a destructive action, it should be on the left in a two-button alert. The button that cancels this action should be on the right.


因此,我认为最有可能的按钮是跳过,尤其是在您的屏幕截图中,跳过以粗体显示(尽管您可能会有不同的想法),这是非破坏性的。然后,它应该在右边,而变化将在左边。
在这里找到更多:iOS Human Interface Guidelines: Temporary Views

关于ios - 我应该放入哪个 AlertView 按钮 "cancel",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33116219/

相关文章:

ios - 在 iOS7 中更改 UIAlertView 的字体大小

iphone - 为什么我的 UIAlertView 仅在延迟后才出现?

ios - 苹果iPad HIG?

ios - 在Core Data中存储图像,如何清除缓存?

iphone - iOS 巨大的 JSON (30MB) 处理

ios - 找不到命名空间中的Xamarin.Forms类(仅在iOS上)

ios - CustomIOS7AlertView横向模式

cocoa - NSTableView 重新排序时处理选定的行

ios - 在哪里可以找到 iOS 用户体验导航最佳实践?

iphone - 检测 wifi 热点 iOS