开发者

Array of ImageView

开发者 https://www.devze.com 2022-12-27 12:21 出处:网络
I m making a S开发者_开发知识库hooting game, in that I want an array of ImageViews , so that for each new level the bullets can be Disappear and the view will be shown from the initial level. SO if An

I m making a S开发者_开发知识库hooting game, in that I want an array of ImageViews , so that for each new level the bullets can be Disappear and the view will be shown from the initial level. SO if Any one know how to store imageviews in an array kindly tell me... regards viral..


NSMutableArray *mutableArray = [NSMutableArray array];
UIImageView *imageView = [[UIImageView alloc] initWithImage:@"Image.png"];
[mutableArray addObject:imageView];
[imageView release];
0

精彩评论

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