How to hide the keyboard when I press return key in a UITextField?

前端 未结 12 1478
野趣味
野趣味 2020-12-04 07:31

Clicking in a textfield makes the keyboard appear. How do I hide it when the user presses the return key?

12条回答
提交回复
热议问题