摘要: https://www.jianshu.com/p/deb3e9e1f10c 2017.03.14 10:31* 字数 144 阅读 1320评论 0喜欢 2 1、UITextView的创建及基本属性设置##### //创建UITextView对象 textView = UITextView(fra 阅读全文
posted @ 2019-01-28 17:32 sundayswift 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: textField 基本属性 _textField.frame = CGRectMake(0, 0, 200, 50); _textField.delegate = self; _textField.text = str; [_textField becomeFirstResponder]; /* 阅读全文
posted @ 2019-01-28 16:22 sundayswift 阅读(406) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/63bdeca39ddf 1、文本输入框的创建##### let textField = UITextField(frame: CGRect(x:10, y:60, width:200, height:30)) // let textField = 阅读全文
posted @ 2019-01-28 16:21 sundayswift 阅读(2607) 评论(0) 推荐(0) 编辑