iphone - 在基于文档的应用程序中保存更改的用户界面注意事项

标签 iphone android user-interface mobile user-experience

我正在为 iPhone 和 Android 移动设备制作图像编辑器(例如,用于绘制图片和图表)。这个问题也适用于任何涉及编辑文件的事情,例如电子表格、视频、文本文件。

当应用程序启动时,用户会在图库中看到他们目前创建的所有文档,然后单击文档会打开编辑器。到目前为止,我的保存选项(它们在桌面应用程序上的作用是一样的)是:“保存”(有利于保存增量进度)和“保存副本”(有利于保存编辑阶段的里程碑)。当用户退出应用程序时,他们会看到通常的“保存更改?是/否/取消”对话框。

但是,这种方法似乎不太好:

  1. 我发现在测试中,当显示“保存更改?是/否/取消”对话框时,用户不小心选择了错误的选项是很常见的。
  2. 向普通用户解释“保存”和“保存副本”之间的区别尤其棘手,而且误解会导致数据丢失。我也想要一个像“另存为”这样的选项,但这可能是最令人困惑的保存选项,尤其是因为您真的不希望用户在移动设备上指定文件名。

在移动设备上处理复杂文档的保存时,我可以考虑使用更好的界面模型吗?

我考虑过的一些想法是:

  • 退出应用程序时,更改始终会在退出时保存到新文件中,而不会提示。然后,用户可以根据需要手动丢弃原始文件或编辑后的副本

和/或

  • 当从编辑器的菜单中选择“保存”时,更新后的文档将保存到新文件 F 中,所有以后的“保存”操作都将覆盖 F。意外破坏原始文件的选项。唯一的问题是,如果用户保存、进行一些更改然后想离开编辑器并放弃自上次保存以来的更改,该怎么办。我能想到的唯一想法是在退出时添加提示或添加“放弃”更改菜单选项。

我正在寻找灵活、易于解释和防止错误的东西。

编辑:由于我的应用程序的性质(大图像、破坏性和缓慢的操作),我提供持久撤消是不切实际的(我知道这里有一些讨论,但在这里甚至不实用如果我们只考虑开发时间)。这使得自动保存文档更加麻烦。我知道这限制了我的选择,但我并不期待完美。

最佳答案

当我不确定如何处理此类事情时,我会启动一些旗舰应用程序,看看它们是如何处理的。

让我们以 iPad 版 Numbers 为例。
如果我编辑电子表格,Numbers 永远不会询问我是否要保存,它只会保存。
如果我进行了更改,我可以稍后撤消它们,因为有撤消功能。 即使我强制退出该应用程序,撤消选项也会在我下次启动它时出现。

如果需要,我可以复制电子表格,但此选项隐藏在“我的电子表格”子菜单中。创建电子表格时它不可见。

所以我建议实现一些撤消功能,这样您就可以在没有用户交互的情况下进行保存。

我想知道您如何在应用程序退出时要求用户保存。在 iOS 上,这应该是不可能的。


顺便说一句,iOS 人机界面指南是这样说的:

Ask People to Save Only When Necessary

People should have confidence that their work is always preserved unless they explicitly cancel or delete it. If your application helps people create and edit documents, make sure that they do not have to take an explicit save action. iOS apps should take responsibility for saving people’s input, both periodically and when they open a different document or quit the application.

If the main function of your application is not content creation, but you allow people to switch between viewing information and editing it, it can make sense to ask them to save their changes. In this scenario, it often works well to provide an Edit button in the view that displays the information. When people tap the Edit button, you can replace it with a Save button and add a Cancel button. The transformation of the Edit button helps remind people that they’re in an editing mode and might need to save changes, and the Cancel button gives them the opportunity to exit without saving their changes.

For iPad, save information that people enter in a popover (unless they cancel their work), because they might dismiss the popover without meaning to. For more guidelines specific to using popovers, see “Popover (iPad Only).”

关于iphone - 在基于文档的应用程序中保存更改的用户界面注意事项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5456402/

相关文章:

java - 不断地将不同类的数据写入文本文件

c++ - 在对话框 (wxDialog) 中安装一个大网格 (wxGrid)

javascript - 如何使用 Javascript 阻止用户输入特定 key

iphone - 如何获得来自同一个 Controller 的多个 Web 服务请求?

ios - 单个应用程序二进制文件如何支持 64 位和 32 位应用程序

Android - 使用硬件音量按钮控制 SoundPool 的音量?

Java Swing : getAncestorOfClass() not working as expected

iphone - iOS 从 iPhone 获取照片路径为 f ://localhost/. ..filename.jpg

iphone - CLLocationmanager 有时会卡住

android - Android 中的汉堡菜单图标交叉动画