【发布时间】:2011-08-05 02:32:22
【问题描述】:
我使用此代码设置背景图像。唯一的问题是它涵盖了我在 XIB 文件中插入的所有内容。我应该怎么做才能确保我的文本字段、按钮等也是可见的(在背景前面)。感谢您的帮助!
// Setup the background
UIImageView *background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"background.png"]];
[self.view addSubview:background];
[background release];
【问题讨论】:
标签: iphone ios ipad subview layer