By default UITextField has a light gray color as its border color. I want to set my UITextView to have the same border color as the UITextField.
I tried:
<
Try this code for Swift
let borderColor = UIColor.whiteColor.Cgcolor() myTextView.layer.borderColor = borderColor.CGColor; myTextView.layer.borderWidth = 1.0; myTextView.layer.cornerRadius = 5.0;