【发布时间】:2013-10-09 09:40:44
【问题描述】:
我正在设置一个视图作为 uitableview 的背景。 View 只是有 colorWithPatternImage。
在 iOS6 中可以正常工作,但是在 iOS7 中没有任何效果,在 iOS7 中 TableView 背景仍然是白色的。我正在使用 Three20 库。
我的代码是
UIImage *imgBackGround = [UIImage imageNamed: @"my_background.png"];
self.tableView.backgroundColor = [UIColor clearColor];
UIView *backView = [[UIView alloc] initWithFrame:self.view.frame];
[backView setBackgroundColor:[UIColor colorWithPatternImage:imgBackGround]];
self.tableView.backgroundView = backView;
[backView release];
self.view.backgroundColor=[UIColor colorWithPatternImage:imgBackGround];
iOS7 会出现什么问题? 请帮忙,在此先感谢。
【问题讨论】:
-
哇,你还在用 Three20 库吗?
标签: uitableview ios7