UITextField属性
autocapitalizationType 定义文本自动大小写样式
autocorrectionType 定的文本是否使用iPhone的自动功能
secureTextEntry 设置为YES不显示文本内容
textField.layer.borderColor = [[UIColor blueColor]CGColor] 设置边框的颜色
[textField setBorderStyle:UITextBorderStyleRoundedRect] 设置外框的类型
UITextView属性
scrollEnabled 设置为YES为可以拖动
autoresizingMask 自适应高度