In my application, I have a large text field that allows the user to input notes, but the only issue is that it does not blend into the background image that I have set. With the UITextField, you can set the border in the Interface Builder so that it does not have a white background, it has a transparent background making it show the background I have set behind it. I did not see this Border option with the UITextView, does anyone know how I can achieve the same effect? (I'm using Xcode 4.2 by the way).
Thank you!
To set the background to be transparent on a UITextView you can use
If you want to add a border to the UITextView then you would need to add that to the layer of the textView which you could do in the following way
That should answer both your questions I think.
You can change the opacity of the background in Interface Builder.
You can use following code-
decide color and border width as per your need.