有谁知道我怎么能把这个(见代码)图像带到后台?它并没有“悬挂”在我放置在Interface Builder
中的另一个图像上UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 104)];
[imageView setImage:[UIImage imageNamed:@"helloworld.png"]];
[self.view addSubview:imageView];
谢谢!
答案 0 :(得分:2)
也许
[yourSubView.superview sendSubviewToBack:yourSubView];
看看这个问题:How to put UIImageView on the background of the layout