我在《法典》中打造了“UIImage”语,我希望稍后再接听并树立形象。 我如何帮助?
for (int x = 1; x <= 5; x++) {
UIImageView *Game_ImageViews = [[UIImageView alloc]
initWithFrame:CGRectMake(0, 0, 100, 100)];
Game_ImageViews.tag = x;
[Game_View addSubview:Game_ImageViews];
}
UIImage *image = [[UIImage alloc] initWithContentsOfFile:[[[NSBundle mainBundle] resourcePath]
stringByAppendingPathComponent:@"Test.png"]];
(UIImageView*)[self.view viewWithTag:100].image = image;
[image release];