tri*_*eni 7 iphone objective-c uitableview ios
我必须将单元格alpha设置为最小值.我在单元格中尝试以下代码行,它不起作用.我也设置了不透明但它仍然不起作用.有人对此有所了解吗?
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)
{
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
}
cell.alpha =0.5;
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4551 次 |
| 最近记录: |