ios - 是否有关于何时使用模态转场以及何时在 iOS 中使用推送转场的一般经验法则?

标签 ios ios5

在 iOS 中何时使用模态转场以及何时使用推送转场是否有一般经验法则?

也就是说,当创建一个从现有屏幕继续的新屏幕时,在决定正确的继续之前我应该​​问自己什么问题?任何建议、背景信息等将不胜感激

最佳答案

Apple 的 Human Interface Guidelines (HIG) 说:

it’s a good idea to use the modal presentation style when users are expecting a change in experience, such as after they complete a task

推送转场应该用于应用内的导航(例如在导航 View Controller 中)

此外,HIG说:

Modality is most appropriate when:

It’s critical to get the user’s attention. A task must be completed (or explicitly abandoned) to avoid leaving the user’s data in an ambiguous state.

关于ios - 是否有关于何时使用模态转场以及何时在 iOS 中使用推送转场的一般经验法则?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9198021/

相关文章:

android - 我如何告诉我的老板使用 Xamarin 不会让它更快

ios - 如何在 iOS Sprite Kit 中裁剪两张图片并拼接成一张?

ios - 从堆栈中弹出导航 Controller /创建双 View

iphone - wait_fences:无法收到回复:10004003(再次)

iphone - 在屏幕的一半部分打开相机 - iPhone

iphone - 在 UINavigationBar 上放置一个大 Logo 作为标题 View - iOS

ios - 如何在 ios 6.1 xcode 4.6 中获取 json 数据

ios - 通过键盘向上滚动后,TextView 没有移回原始位置

ios - 动态调整 UILabel 的大小,但它不起作用。

iphone - IOS5获取当前音量