I want to have a thin gray border around a UITextView. I have gone through the Apple documentation but couldn\'t find any property there. Please help.
UITextView
In Swift 3, you may use the following two lines:
myText.layer.borderColor = UIColor.lightGray.cgColor myText.layer.borderWidth = 1.0