If you use this, it will change the frame style to the way you describe. You say TextView, although you mean textField? The text box may have a gray rounded image by default. To remove this,
textField.borderStyle = UITextBorderStyleNone;
where "textField" is the name of your text field.
If you visit this link in the Apple documentation in the textField properties, I am sure this will help with any other things that you want change. If this is the TextView field that you had in mind, then the apple documentation will provide you with properties that you can use here.
Hope this help, greetings, Jim.
Jim tierney
source share