用户单击“帮助”后,模式文本弹出的最佳方法图标?

发布于 2024-12-08 18:06:03 字数 303 浏览 0 评论 0原文

就在 iPhone 应用程序中为用户提供漂亮的文本弹出窗口而言,在用户单击帮助图标后,人们推荐什么方法/样式?

在我看来(关于用户体验),我会想到这样的话:

  • 有一个薄边框,周围有圆角边缘,占据
  • 了屏幕的大部分,
  • 有一个垂直滚动条,如果有更多的文本无法容纳在一个屏幕上,
  • 有一种方法让用户忽略

感兴趣:

  • 推荐的 UI 设计方法
  • 如何实现(使用哪些 IOS UI 对象)
  • 很好 - 示例代码

In terms of providing a nice text popup for users in an iPhone application, after they click on a help icon, what approach/style do people recommend?

In my view (re User Experience) I would have thought something that say:

  • has a thin border with rounded edges around it
  • takes up most of the screen
  • has a vertical scroll bar if there is more text than can fit on one screen
  • has a way for the user to dismiss

Interested in:

  • recommended approach re UI design
  • how to implement (which IOS UI objects to use)
  • nice to have - example code

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

请爱~陌生人 2024-12-15 18:06:03

关于设计 iPhone UI 元素(包括弹出窗口)的事情是,强烈建议您按照“Apple 的方式”进行设计 - 遵循他们的 人机界面指南并使用标准 UI 控件。我可以想到的两种方法可以立即做到这一点:

如果您决定走第二条路,请按照您现有的直觉来布局 - 您将占据 iPhone 上的整个屏幕,因此您有一些回旋余地。您的圆边猜测和垂直滚动是正确的(考虑 UIScrollView 实现)。

The thing about designing iPhone UI elements, including popups, is that you're very strongly recommended to do it "Apple's way" - follow their Human Interface Guidelines and use standard UI controls. The two ways I can think to do this offhand:

  • Use a UIAlertView for a single chunk of text - it includes buttons for dismissal, properly shaded and colored for consistency with the rest of the OS and other apps. This is a quick, one- or two-line way of putting text on the screen and taking it off again. The downside: there's no scrolling capability, and the box scales with the text you put in it (i.e. you can't fix a size for the view).
  • Use a new view (in a UIViewController) presented modally. This option gives you more flexibility and the capability to scroll, but at the cost of greater setup.

If you decide to go the second route, follow your existing instincts for how to lay it out - you'll take over the entire screen on an iPhone, so you have some wiggle room. Your rounded-edges guess and vertical scrolling are right on (consider a UIScrollView for implementation).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文