开发者

UIView Background Image and UITable View complications

I am having a strange issue with displaying a custom image in my UIView. I have a table view t开发者_Python百科hat is setup displaying 4 cells, and then behind that I would like to have a custom image. Right now it is looking like this:alt text http://www.freeimagehosting.net/uploads/48927630ba.jpg where the tan is the background color I want, and the grayish color right next to the cells is the color I don't want. Here is my code in the viewDidLoad:

- (void)viewDidLoad {
[super viewDidLoad];

self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"IMAGE320.tiff"]];

I know its a pretty basic problem, but why is that gray ish part showing up next to my cells? There has to be a way to clean that up...any help is greatly appreciated!! Thanks


[myTableView setBackgroundColor:[UIColor clearColor]];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜