我繼承一個UITableViewCell,並在初始化函數我做了以下內容:爲什麼UITableViewCell的backgroundView模糊的圖像
UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"packagelistcell_background.png"]];
[imageView setFrame:CGRectMake(0, 0, 300, 81)];
self.backgroundView = imageView;
[imageView release];
時顯示在屏幕上,圖像會略顯模糊。爲了進行測試,我在桌面視圖上方放置了一個直立的UIImageView,圖像看起來很完美和清晰。表格視圖是分組表格視圖。你知道爲什麼它模糊了圖像嗎?
那會怎麼辦? – rickharrison 2010-02-04 13:21:51