【发布时间】:2016-08-09 14:01:09
【问题描述】:
在我的应用程序中,我添加了一个UITableView 和UISearchBar,其背景默认为白色。我想将这两个项目的背景更改为清晰或透明,为此我尝试更改背景颜色。
tableview.tintColor=[UIColor clearColor];
srchbar.tintColor=[UIColor clearColor];
但它不会影响 UI。怎么做才合适?
用户界面截图如下。
【问题讨论】:
标签: ios objective-c uitableview uisearchbar