UITextView background image

Ilya Suzdalnitski picture Ilya Suzdalnitski · Apr 17, 2009 · Viewed 40.7k times · Source

How can I set up a background image to UITextView?

Answer

duncanwilcox picture duncanwilcox · Apr 17, 2009

You can have an UIImageView containing the background image and the UITextView as siblings, then in Interface Builder move the text view to overlap the image view (or add them both to the same parent view if doing it programmatically). You also need to make sure that text view is not opaque and give it a 0% opacity background.