1
2
3
4
|
let
textview=
UITextView
(frame:
CGRectMake
(10,100,200,100))
textview.layer.borderWidth=1
//边框粗细
textview.layer.borderColor=
UIColor
.grayColor().
CGColor
//边框颜色
self
.view.addSubview(textview)
|
textview.editable= @H_301_82@false |