記事一覧

Transparent background on UIView

UIViewの背景を透明にするには、
aView.backgroundColor = [UIColor clearColor];
みたいにコードを書かないといけないようです。
IB上にそういうオプションがあれば一発なのに・・

To have the background of UIView transparent you have to set the background color to "clearColor" programatically like this:
aView.backgroundColor = [UIColor clearColor];
I wonder why there aren't the option to do that on IB....