模拟出ios中流行的黑色背景底

 

[activityIndicatorView setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alpha:0.4]];

用上面的语法,可以模拟出ios中流行的黑色背景底。如下图所示:

posted @ 2013-06-25 00:05  ygm900  阅读(236)  评论(0编辑  收藏  举报