ios - 在 UItextfield 中使用气泡自动完成

标签 ios ios4 uitextfield

是否有任何方法可以通过编程方式使用气泡在 UITextfield 中提供建议。

最佳答案

您可以为 UITextField 使用 autocorrectionType

yourTextField.autocorrectionType = UITextAutocorrectionTypeYes;

关于ios - 在 UItextfield 中使用气泡自动完成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9867344/

相关文章:

iphone - 如何在 UITextField 键盘中启用 "return button"?

ios - 替换文本时更正 UITextField 中的文本光标

ios - 在 iOS 中阅读短信

iPhone/iPad 应用程序开发限制

ios - 为什么 'self.navigationController?.pushViewController(mainPage, animated: true)' 不起作用?

iphone - UIGestureRecognizers 的自定义操作(带有自定义参数)

iphone - 适用于 iOS 4.0 应用程序的 NSFileProtectionComplete

ios - 我想要自定义的 UITextfield,它具有与 android 相同的占位符行为,我还想要 UITextfield 中的错误标签

ios - Font Awesome 在我的 React Native 项目中未被识别

ios - 在 iOS 10 上未收到推送通知,但在 iOS 9 及之前的版本上有效