在 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/