如何禁用自动完成在UITextView的iPhone键盘 [英] How to Disable autocomplete in UITextView iPhone keyboard

查看:121
本文介绍了如何禁用自动完成在UITextView的iPhone键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做的,我想禁用一个文本框键盘的自动完成功能应用。我怎样才能做到这一点?

I am doing the application in which I want to disable the autocomplete feature of the keyboard in a textfield. How can I do this?

推荐答案

使用epatel的方法,如果你使用IB。如果你不使用IB,然后尝试方法

Use epatel's method if you're using IB. If you're not using IB, then try the method

-setAutoCorrectionType:

和通 UITextAutocorrectionTypeNo

这篇关于如何禁用自动完成在UITextView的iPhone键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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