0
我想在我的UITableView
後面有一個背景圖像。這工作正常,但對於每個分組UITableView
它似乎使用我的背景圖像。我只是希望它曾經使用的背景圖片:爲分組的UITableView設置背景的問題
注:這是所有裏面UITableViewController
類
self.view.backgroundColor = [[[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"background.png"]]autorelease];
self.tableView.opaque = NO;
self.tableView.backgroundView = nil;
headerView.backgroundColor = [UIColor clearColor];
footerView.backgroundColor = [UIColor clearColor];
你是什麼意思的'每個分組的UITableView'?一個UITableView中的不同部分? – sha 2010-08-18 17:20:24
是的,一個UITableView中的不同部分 – 2010-08-18 17:22:04