transparent UITextView

后端 未结 7 1839
长情又很酷
长情又很酷 2021-02-04 02:49

How do I make a UITextView transparent? I built the view in Interface Builder and placed a UITextView into it and it covers the background.

Any ideas?

7条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-04 03:55

    Up to iOS 4.3 You had to do the Interface Builder version of setting the background opacity. But as of iOS 5, you can set the backgroundColor and it will work. Just keep in mind when making apps for older OS versions.

提交回复
热议问题