iPhone 自动完成

发布于 2024-08-16 08:11:41 字数 145 浏览 1 评论 0原文

我正在创建一个 iPhone 应用程序,我需要在其中显示 5 个文本字段之一的自动完成功能。实现这一目标的最佳方法是什么?现在,我在 UITextField 的 didtextchange 委托方法上显示一个表格视图。请建议我更好的方法来做到这一点。任何建议将不胜感激。谢谢。

I am creating an iPhone application where I need to display autocomplete functionality for one of the 5 textfield. What could be the best possible way to achieve this. For now I am showing a tableview on the didtextchange delegate method of UITextField. Kindly suggest me better way of doing this. Any suggestion will be appreciated. Thanks.

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

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

发布评论

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

评论(1

恏ㄋ傷疤忘ㄋ疼 2024-08-23 08:11:41

你正在做正确的事。这是普遍遵循的做法。也许你可以使用 UIPicker,但 iPhone 应用程序都是为了给用户提供他们熟悉的体验。尝试新事物有时可能会导致用户感到困惑和有点沮丧。请记住,您应该在开发应用程序时牢记用户的需求,他们大多数时候没有技术知识,也不愿意探索事物。他们想要他们熟悉的用户界面。

希望我对你很清楚。

You are doing the right thing. This is the generally followed practice. May be you can use a UIPicker but the iphone apps are all about giving users the experience they are familiar with. Trying something new may sometimes lead a user to the confusion and a bit frustration. Remember you should develop the application keeping the users in mind, who most of the time don't have technical knowledge and are not willing to explore things. They would like the UI which they are familiar with.

Hoping I am clear to you.

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