Fork me on GitHub
摘要: 1、先创建UITextField 2、不要在textFieldShouldBeginEditing里面实现,因为endDocument取出来为nil. 在textFieldDidBeginEditing里面实现 3、另外可以利用shouldChangeCharactersInRange实现补全选中的 阅读全文
posted @ 2017-05-12 23:30 极度恐慌_JG 阅读(637) 评论(0) 推荐(0) 编辑