【发布时间】:2011-03-24 19:43:03
【问题描述】:
我有一个问题,我如何在我的 iPhone 中将 ImageView 图像对象设置为背景我使用 sdk 4.2 而在 iPhone 4 中,它可以在 iPhone 中设置背景图像......所以我的情况是,如果有人喜欢图片然后他们应该将 UIAlertView 设置为背景... OK & Cancel 选项在 ok 选项中自动将图像设置为背景。
我的对象如下:
UIImageView *imgViewObj = [[UIImageView alloc]init];
[imgView setImage:[UIImage imageWithName:@"sampleImage.png"]];
我必须将此 imgView obj 设置为背景图像...
【问题讨论】:
标签: iphone objective-c