
iOS textView布局
Super-Mark
这个作者很懒,什么都没留下…
展开
-
iOS textView那些事(一)
在我们使用textView进行编程时,经常会遇到输入时文字会自动置底,但是有时候中文输入时,会隐藏一行的情况。这是因为这个参数: textView.layoutManager.allowsNonContiguousLayout = NO; 这行代码是设置了UITextView中的 layoutManager(NSLayoutManager) 的是原创 2015-03-24 14:39:38 · 517 阅读 · 0 评论 -
iOS textView那些事(二)
今天编写代码时候发现,textfield编辑时系统弹出的键盘上面带有字词联想功能,可以通过设置下面这个属性来进行关闭textField.autocorrectionType =UITextAutocorrectionTypeNo;原创 2016-02-23 14:29:31 · 344 阅读 · 0 评论