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
Works great, but the color should be a CGColor, not UIColor:
CGColor
UIColor
view.layer.borderWidth = 5.0f; view.layer.borderColor = [[UIColor grayColor] CGColor];