为UITextField iphone给定制自我暗示 [英] giving custom autosuggestion for uitextfield iphone

查看:160
本文介绍了为UITextField iphone给定制自我暗示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要实现的的UITextField一个自定义的自我暗示>
我有话的数组,当我在一个文本框开始打字那么类似于输入的文本所有的话应该显示为自动建议,像IOS正常的自动建议,但多个单词。当我在其中一人挖掘它应该触发一个事件。我知道如何做到了这一点与实现代码如下有人知道的方法与iOS对这样做的外观和感觉?

I have to implement a custom autosuggestion for UITextField> I have an array of words and when I start typing in a textfield then all words similar to the typed text should appear as auto suggestion, like normal auto suggestion in ios but more than one word. And When I tap on one of them it should trigger an event. I know how to done this with a tableview anybody know a method to done this with ios's look and feel?

推荐答案

有关这个目的,我使用的项目链接如下:
http://cocoacontrols.com/platforms/ios/controls/autocompletiontableview

For this purpose I used the project linked below: http://cocoacontrols.com/platforms/ios/controls/autocompletiontableview

这篇关于为UITextField iphone给定制自我暗示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆