开发者

Accept spelling suggestion in UITextField on return

开发者 https://www.devze.com 2023-01-23 23:31 出处:网络
Hey, I have a UITextField where the user can input a word. If there is a s开发者_如何转开发pelling suggestion (the little pop up) available for the word written, I would like this suggestion to be use

Hey, I have a UITextField where the user can input a word. If there is a s开发者_如何转开发pelling suggestion (the little pop up) available for the word written, I would like this suggestion to be used if the user presses return on the keyboard.

Right now, the user has to hit space to change the spelling to the suggestion, erase the space and then press return.

Can this be done? I think it works like I would want it to in most applications I've seen, for example the SMS app.

0

精彩评论

暂无评论...
验证码 换一张
取 消