标签:code ble rip 变化 ogr sel access 可见 visible
控制上下左右缩进
myTextField.textContainerInset = UIEdgeInsetsMake(10, 30, 10, 20)
滑动使某区域文字可见
//移动到最前面
self.myTextView.scrollRangeToVisible(NSMakeRange(0, 3))
inputAccessoryView
,跟着键盘一块出来的,在键盘上方的view
计算在键盘高度上。。
textView.inputAccessoryView = UIImageView.init(image: UIImage.init(named: "accessory"))
标签:code ble rip 变化 ogr sel access 可见 visible
原文地址:http://www.cnblogs.com/huahuahu/p/UITextView-bi-ji.html